]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Clear OpenSSL error stack when exiting
authorMark Andrews <marka@isc.org>
Thu, 31 Aug 2023 01:03:38 +0000 (11:03 +1000)
committerMark Andrews <marka@isc.org>
Fri, 1 Sep 2023 02:01:20 +0000 (12:01 +1000)
bin/tests/system/rsabigexponent/bigkey.c

index 8b42b0b564f032b6d187d788382cf312618599b6..c1234df18fbc59dfb77db28ed91943258cb99f2d 100644 (file)
@@ -66,6 +66,7 @@ EVP_PKEY *pkey;
                                "%d\n",                                       \
                                msg, isc_result_totext(result), __FILE__,     \
                                __LINE__);                                    \
+                       ERR_clear_error();                                    \
                        exit(1);                                              \
                }                                                             \
        } while (0)