diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-03-12 13:49:28 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-03-12 15:13:37 +0100 |
commit | 0413b7bb9cbc63859972451e7a554171c2c1fddb (patch) | |
tree | e6c0502021b5a2fc55c41fe78eedd34e3d154899 /test/acvp_test.c | |
parent | Remove the RAND_get0_public() from fips provider initialization (diff) | |
download | openssl-0413b7bb9cbc63859972451e7a554171c2c1fddb.tar.xz openssl-0413b7bb9cbc63859972451e7a554171c2c1fddb.zip |
acvp_test: Do not expect exact number of self tests
There might be more because internal instances of the DRBG
might be initialized for the first time and thus
self-tested as well.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14497)
Diffstat (limited to 'test/acvp_test.c')
-rw-r--r-- | test/acvp_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/acvp_test.c b/test/acvp_test.c index 02ef638ddd..0be26f699b 100644 --- a/test/acvp_test.c +++ b/test/acvp_test.c @@ -127,7 +127,7 @@ static int ecdsa_keygen_test(int id) || !TEST_int_gt(EVP_PKEY_keygen_init(ctx), 0) || !TEST_true(EVP_PKEY_CTX_set_group_name(ctx, tst->curve_name)) || !TEST_int_gt(EVP_PKEY_keygen(ctx, &pkey), 0) - || !TEST_int_eq(self_test_args.called, 3) + || !TEST_int_ge(self_test_args.called, 3) || !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_PRIV_KEY, &priv, &priv_len)) || !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_EC_PUB_X, &pubx, |