Lines Matching refs:pubkey
1029 EVP_PKEY *pubkey = NULL;
1045 pubkey = X509_get_pubkey(x509); /* bumps reference */
1046 if (pubkey == NULL)
1049 privatekey = pubkey;
1053 if (EVP_PKEY_missing_parameters(pubkey)) {
1058 /* copy to privatekey from pubkey */
1059 EVP_PKEY_copy_parameters(privatekey, pubkey);
1061 } else if (EVP_PKEY_missing_parameters(pubkey)) {
1062 /* copy to pubkey from privatekey */
1063 EVP_PKEY_copy_parameters(pubkey, privatekey);
1067 if (EVP_PKEY_cmp(pubkey, privatekey) != 1) {
1072 if (ssl_cert_lookup_by_pkey(pubkey, &i) == NULL) {
1108 EVP_PKEY_free(pubkey);