Remove a bad 'goto end' and a few superfluous ones in apps/lib/apps.c
[openssl.git] / fuzz / asn1parse.c
index 8aab0d2f1c66ccbe900e032d2b3b1ee06768b282..ac888e535ae11dcc92a4170b2dbbed281d6153a4 100644 (file)
@@ -25,7 +25,7 @@ int FuzzerInitialize(int *argc, char ***argv)
 {
     bio_out = BIO_new_file("/dev/null", "w");
     OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
-    ERR_get_state();
+    ERR_clear_error();
     CRYPTO_free_ex_index(0, -1);
     return 1;
 }