From d0cf54fdf2a9431fe817cbc6f9a450c5ae431bef Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 3 Sep 2022 16:01:23 +0000 Subject: 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@ --- src/lib/libcrypto/ecdsa/ecs_asn1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libcrypto/ecdsa') diff --git a/src/lib/libcrypto/ecdsa/ecs_asn1.c b/src/lib/libcrypto/ecdsa/ecs_asn1.c index 9a7a04468b..d4cbf1e308 100644 --- a/src/lib/libcrypto/ecdsa/ecs_asn1.c +++ b/src/lib/libcrypto/ecdsa/ecs_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecs_asn1.c,v 1.10 2022/01/05 20:39:04 tb Exp $ */ +/* $OpenBSD: ecs_asn1.c,v 1.11 2022/09/03 16:01:23 jsing Exp $ */ /* ==================================================================== * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. * @@ -63,14 +63,14 @@ static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = { .tag = 0, .offset = offsetof(ECDSA_SIG, r), .field_name = "r", - .item = &CBIGNUM_it, + .item = &BIGNUM_it, }, { .flags = 0, .tag = 0, .offset = offsetof(ECDSA_SIG, s), .field_name = "s", - .item = &CBIGNUM_it, + .item = &BIGNUM_it, }, }; -- cgit v1.2.3-55-g6feb