From e5d4233fbd07eac52227c7ec5f479a46f15914bf Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 26 Jul 2019 18:11:55 +0200 Subject: Deprecate ERR_get_state() Internally, we still need this function, so we make it internal and then add a new ERR_get_state() that simply calls the internal variant, unless it's "removed" by configuration. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9462) --- fuzz/bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fuzz/bignum.c') diff --git a/fuzz/bignum.c b/fuzz/bignum.c index 3de6a89846..d7c3716aac 100644 --- a/fuzz/bignum.c +++ b/fuzz/bignum.c @@ -22,7 +22,7 @@ int FuzzerInitialize(int *argc, char ***argv) { OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL); - ERR_get_state(); + ERR_clear_error(); return 1; } -- cgit v1.2.3