]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/evp_extra_test2.c
Rename all getters to use get/get0 in name
[thirdparty/openssl.git] / test / evp_extra_test2.c
index e480ae9555e3216653f68a800687eb07f18d1bc9..d932b73dd728bf6866f6e7c2bb72232ff6d6c8ab 100644 (file)
@@ -275,7 +275,7 @@ static int test_d2i_AutoPrivateKey_ex(int i)
     if (!TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &p, input_len, mainctx,
                                                NULL))
             || !TEST_ptr_eq(p, input + input_len)
-            || !TEST_int_eq(EVP_PKEY_id(pkey), expected_id))
+            || !TEST_int_eq(EVP_PKEY_get_id(pkey), expected_id))
         goto done;
 
     if (ak->evptype == EVP_PKEY_RSA) {