summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dsa
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2022-09-03 16:01:24 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2022-09-03 16:01:24 +0000
commite9e6513a620814b923349a4edcb8cb504fbb394a (patch)
tree0b5a3c17ef5d52ff984e8995c94421ab5c61deb9 /lib/libcrypto/dsa
parente3157840a713c2c0c3317bcfd668391ea4227b33 (diff)
Stop using CBIGNUM_it internal to libcrypto.
CBIGNUM_it is supposed to be the "clear bignum" or "secure" bignum - that is one which zeros its memory after use and ensures that the constant time flags are set... in LibreSSL we always do both of these things for BIGNUMs, so just use BIGNUM_it instead. ok tb@
Diffstat (limited to 'lib/libcrypto/dsa')
-rw-r--r--lib/libcrypto/dsa/dsa_asn1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/dsa/dsa_asn1.c b/lib/libcrypto/dsa/dsa_asn1.c
index daa970e316a..47e544c9cbf 100644
--- a/lib/libcrypto/dsa/dsa_asn1.c
+++ b/lib/libcrypto/dsa/dsa_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_asn1.c,v 1.24 2022/01/14 08:29:06 tb Exp $ */
+/* $OpenBSD: dsa_asn1.c,v 1.25 2022/09/03 16:01:23 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -97,14 +97,14 @@ static const ASN1_TEMPLATE DSA_SIG_seq_tt[] = {
.tag = 0,
.offset = offsetof(DSA_SIG, r),
.field_name = "r",
- .item = &CBIGNUM_it,
+ .item = &BIGNUM_it,
},
{
.flags = 0,
.tag = 0,
.offset = offsetof(DSA_SIG, s),
.field_name = "s",
- .item = &CBIGNUM_it,
+ .item = &BIGNUM_it,
},
};