Move part of OSSL_CMP_validate_msg() to ossl_cmp_msg_check_update()
[openssl.git] / test / cmp_vfy_test.c
index 22588aef1a6cc743d7996aa21162ff124e881e39..583e7c2fbb05b34315a10f36f3a5781fde2a8583 100644 (file)
@@ -123,7 +123,8 @@ static int test_verify_popo_bad(void)
 static int execute_validate_msg_test(CMP_VFY_TEST_FIXTURE *fixture)
 {
     return TEST_int_eq(fixture->expected,
-                       OSSL_CMP_validate_msg(fixture->cmp_ctx, fixture->msg));
+                       ossl_cmp_msg_check_update(fixture->cmp_ctx, fixture->msg,
+                                                 NULL, 0));
 }
 
 static int execute_validate_cert_path_test(CMP_VFY_TEST_FIXTURE *fixture)