diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-25 09:09:29 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-25 09:09:29 +0000 |
commit | c79794a63b712a03d645d5a45acde40436237cb5 (patch) | |
tree | 86a0bff7796f7f565421e1dc9e3eda2759ffd25a /lib | |
parent | 16a0f53e9473ef4153e3d3369616591b69369c31 (diff) |
BN_free() is defined in <openssl/bn.h>
This is currently pulled in via dsa.h and ecdsa.h, but only when
OPENSSL_NO_DEPRECATED is not defined. We should fix this in the
public header, too - let's wait a bit with that.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/dsa/dsa_asn1.c | 3 | ||||
-rw-r--r-- | lib/libcrypto/ecdsa/ecs_asn1.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lib/libcrypto/dsa/dsa_asn1.c b/lib/libcrypto/dsa/dsa_asn1.c index f6c66cecde3..70a826ca95c 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.29 2023/03/07 09:27:10 jsing Exp $ */ +/* $OpenBSD: dsa_asn1.c,v 1.30 2023/03/25 09:09:28 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -61,6 +61,7 @@ #include <openssl/asn1.h> #include <openssl/asn1t.h> +#include <openssl/bn.h> #include <openssl/dsa.h> #include <openssl/err.h> diff --git a/lib/libcrypto/ecdsa/ecs_asn1.c b/lib/libcrypto/ecdsa/ecs_asn1.c index 9db114a2d18..916220f97d0 100644 --- a/lib/libcrypto/ecdsa/ecs_asn1.c +++ b/lib/libcrypto/ecdsa/ecs_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecs_asn1.c,v 1.13 2023/03/07 09:27:10 jsing Exp $ */ +/* $OpenBSD: ecs_asn1.c,v 1.14 2023/03/25 09:09:28 tb Exp $ */ /* ==================================================================== * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. * @@ -53,9 +53,11 @@ * */ -#include "ecs_local.h" -#include <openssl/err.h> #include <openssl/asn1t.h> +#include <openssl/bn.h> +#include <openssl/err.h> + +#include "ecs_local.h" static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = { { |