Lines Matching defs:to
7 * The implementation was written so as to conform with Netscapes SSL.
10 * the following conditions are aheared to. The following conditions
11 * apply to all code found in this distribution, be it the RC4, RSA,
17 * the code are not to be removed.
164 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
166 if (to->type != from->type)
178 if (to->type == EVP_PKEY_DSA)
183 if (to->pkey.dsa->p != NULL) BN_free(to->pkey.dsa->p);
184 to->pkey.dsa->p=a;
187 if (to->pkey.dsa->q != NULL) BN_free(to->pkey.dsa->q);
188 to->pkey.dsa->q=a;
191 if (to->pkey.dsa->g != NULL) BN_free(to->pkey.dsa->g);
192 to->pkey.dsa->g=a;
196 if (to->type == EVP_PKEY_EC)
201 if (EC_KEY_set_group(to->pkey.ec, group) == 0)