diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-28 18:44:13 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-28 18:44:13 +0000 |
commit | 47fe4b91e8bcf3f413fe6be03d6370be44b58baa (patch) | |
tree | 5bd6cc50e309a28cda72a4001cb815157f6e06e5 /regress | |
parent | fd25ce7cf5038c98b96a270e0c48c11e9ca0dc83 (diff) |
Enable the tests that depend on correct private key padding
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/ec/ec_asn1_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/ec/ec_asn1_test.c b/regress/lib/libcrypto/ec/ec_asn1_test.c index ee4f86e5cfb..6c84736ab49 100644 --- a/regress/lib/libcrypto/ec/ec_asn1_test.c +++ b/regress/lib/libcrypto/ec/ec_asn1_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_asn1_test.c,v 1.18 2024/10/26 20:50:53 tb Exp $ */ +/* $OpenBSD: ec_asn1_test.c,v 1.19 2024/10/28 18:44:12 tb Exp $ */ /* * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> * Copyright (c) 2024 Theo Buehler <tb@openbsd.org> @@ -27,7 +27,7 @@ /* set to 0 if/when we are going to enforce 0 <= a,b < p. */ #define NEGATIVE_CURVE_COEFFICIENTS_ALLOWED 1 /* unifdef once private key padding in i2d_ECPrivateKey() is fixed. */ -#define CORRECT_PRIV_KEY_PADDING 0 +#define CORRECT_PRIV_KEY_PADDING 1 static const uint8_t ec_secp256r1_pkparameters_named_curve[] = { 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, |