]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/d2i_pr.c
Rename all getters to use get/get0 in name
[thirdparty/openssl.git] / crypto / asn1 / d2i_pr.c
index 94bd341d587ca18f5735c534477118cfb4099af9..58b7646227c33a3976e946eeb60195f04a9c3889 100644 (file)
@@ -120,7 +120,7 @@ d2i_PrivateKey_legacy(int keytype, EVP_PKEY **a, const unsigned char **pp,
             EVP_PKEY_free(ret);
             ret = tmp;
             ERR_pop_to_mark();
-            if (EVP_PKEY_type(keytype) != EVP_PKEY_base_id(ret))
+            if (EVP_PKEY_type(keytype) != EVP_PKEY_get_base_id(ret))
                 goto err;
         } else {
             ERR_clear_last_mark();