Lines Matching defs:pubkey
932 EVP_PKEY *pubkey = NULL;
948 pubkey = X509_get_pubkey(x509); /* bumps reference */
949 if (pubkey == NULL)
952 privatekey = pubkey;
956 if (EVP_PKEY_missing_parameters(pubkey)) {
961 /* copy to privatekey from pubkey */
962 if (!EVP_PKEY_copy_parameters(privatekey, pubkey)) {
967 } else if (EVP_PKEY_missing_parameters(pubkey)) {
968 /* copy to pubkey from privatekey */
969 if (!EVP_PKEY_copy_parameters(pubkey, privatekey)) {
976 if (EVP_PKEY_eq(pubkey, privatekey) != 1) {
981 if (ssl_cert_lookup_by_pkey(pubkey, &i) == NULL) {
1017 EVP_PKEY_free(pubkey);