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.
113 int EVP_PKEY_copy_parameters(EVP_PKEY *to, EVP_PKEY *from)
115 if (to->type != from->type)
127 if (to->type == EVP_PKEY_DSA)
132 if (to->pkey.dsa->p != NULL) BN_free(to->pkey.dsa->p);
133 to->pkey.dsa->p=a;
136 if (to->pkey.dsa->q != NULL) BN_free(to->pkey.dsa->q);
137 to->pkey.dsa->q=a;
140 if (to->pkey.dsa->g != NULL) BN_free(to->pkey.dsa->g);
141 to->pkey.dsa->g=a;