Home | History | Annotate | Download | only in ssl

Lines Matching refs:pkeys

193 	if (c->pkeys[i].x509 != NULL)
196 pktmp = X509_get_pubkey(c->pkeys[i].x509);
209 if (!X509_check_private_key(c->pkeys[i].x509,pkey))
211 X509_free(c->pkeys[i].x509);
212 c->pkeys[i].x509 = NULL;
217 if (c->pkeys[i].privatekey != NULL)
218 EVP_PKEY_free(c->pkeys[i].privatekey);
220 c->pkeys[i].privatekey=pkey;
221 c->key= &(c->pkeys[i]);
414 if (c->pkeys[i].privatekey != NULL)
416 EVP_PKEY_copy_parameters(pkey,c->pkeys[i].privatekey);
422 if ((c->pkeys[i].privatekey->type == EVP_PKEY_RSA) &&
423 (RSA_flags(c->pkeys[i].privatekey->pkey.rsa) &
428 if (!X509_check_private_key(x,c->pkeys[i].privatekey))
434 EVP_PKEY_free(c->pkeys[i].privatekey);
435 c->pkeys[i].privatekey=NULL;
443 if (c->pkeys[i].x509 != NULL)
444 X509_free(c->pkeys[i].x509);
446 c->pkeys[i].x509=x;
447 c->key= &(c->pkeys[i]);
731 if (ssl->cert->pkeys[i].x509 == x)
732 return ssl->cert->pkeys[i].cert_chain;