We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 202b2c2 commit f2f33bbCopy full SHA for f2f33bb
osslsigncode.c
@@ -5324,6 +5324,9 @@ static int main_execute(int argc, char **argv)
5324
if (ctx && ctx->format->ctx_cleanup) {
5325
ctx->format->ctx_cleanup(ctx);
5326
}
5327
+#if OPENSSL_VERSION_NUMBER>=0x30000000L
5328
+ providers_cleanup();
5329
+#endif /* OPENSSL_VERSION_NUMBER>=0x30000000L */
5330
if (ret)
5331
ERR_print_errors_fp(stderr);
5332
if (options.cmd == CMD_HELP)
@@ -5360,11 +5363,6 @@ int main(int argc, char **argv)
5360
5363
ret = main_execute(argc, argv);
5361
5364
5362
5365
err_cleanup:
- /* one-time OpenSSL cleanup */
-#if OPENSSL_VERSION_NUMBER>=0x30000000L
- providers_cleanup();
5366
-#endif /* OPENSSL_VERSION_NUMBER>=0x30000000L */
5367
-
5368
return ret;
5369
5370
0 commit comments