Home | History | Annotate | Download | only in ssl

Lines Matching refs:privatekey

927 	if 	(ctx->cert->key->privatekey == NULL)
932 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
953 if (ssl->cert->key->privatekey == NULL)
959 ssl->cert->key->privatekey));
2218 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
2219 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2221 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2223 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2225 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2226 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2229 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2230 dh_dsa_export=(dh_dsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2232 have_ecc_cert= (cpk->x509 != NULL && cpk->privatekey != NULL);
2247 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2252 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2548 (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))
2552 return c->pkeys[SSL_PKEY_DSA_SIGN].privatekey;
2558 if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL)
2559 return c->pkeys[SSL_PKEY_RSA_SIGN].privatekey;
2560 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)
2561 return c->pkeys[SSL_PKEY_RSA_ENC].privatekey;
2564 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL))
2568 return c->pkeys[SSL_PKEY_ECC].privatekey;
3010 return(s->cert->key->privatekey);