Latest update.
This commit is contained in:
+3
-1
@@ -11,6 +11,8 @@
|
||||
|
||||
#include "cmp_testlib.h"
|
||||
|
||||
DEFINE_STACK_OF(OSSL_CMP_CERTRESPONSE)
|
||||
|
||||
static const char *server_cert_f;
|
||||
static const char *pkcs10_f;
|
||||
|
||||
@@ -163,7 +165,7 @@ static int test_cmp_create_ir_protection_fails(void)
|
||||
if (!TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, newkey))
|
||||
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))
|
||||
/* newkey used by default for signing does not match cert: */
|
||||
|| !TEST_true(OSSL_CMP_CTX_set1_clCert(fixture->cmp_ctx, cert))) {
|
||||
|| !TEST_true(OSSL_CMP_CTX_set1_cert(fixture->cmp_ctx, cert))) {
|
||||
tear_down(fixture);
|
||||
fixture = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user