summaryrefslogtreecommitdiffstats
path: root/fuzz/client.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-07-26 18:11:55 +0200
committerRichard Levitte <levitte@openssl.org>2019-09-12 18:34:06 +0200
commite5d4233fbd07eac52227c7ec5f479a46f15914bf (patch)
treeb1721a511174bca38d434ea844baae1187e30d38 /fuzz/client.c
parent14e275e8fb736be4ea83441b630515f7be97d06b (diff)
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 <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9462)
Diffstat (limited to 'fuzz/client.c')
-rw-r--r--fuzz/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/client.c b/fuzz/client.c
index 5483c6a00b..451989773a 100644
--- a/fuzz/client.c
+++ b/fuzz/client.c
@@ -44,7 +44,7 @@ int FuzzerInitialize(int *argc, char ***argv)
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS | OPENSSL_INIT_ASYNC, NULL);
OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS, NULL);
- ERR_get_state();
+ ERR_clear_error();
CRYPTO_free_ex_index(0, -1);
idx = SSL_get_ex_data_X509_STORE_CTX_idx();
FuzzerSetRand();