mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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)
This commit is contained in:
parent
061ae2f6a2
commit
0413b7bb9c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user