Skip to content

Commit a1fb660

Browse files
committed
Fix handling OpenSSL initialization errors
1 parent 8227c68 commit a1fb660

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

osslsigncode.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5356,14 +5356,12 @@ int main(int argc, char **argv)
53565356
|| !OBJ_create(PKCS9_SEQUENCE_NUMBER, NULL, NULL))
53575357
DO_EXIT_0("Failed to create objects\n");
53585358

5359-
ui_method = ui_osslsigncode();
5360-
53615359
/* perform the requested operation */
5360+
ui_method = ui_osslsigncode();
53625361
ret = main_execute(argc, argv);
5363-
5364-
err_cleanup:
53655362
UI_destroy_method(ui_method);
53665363

5364+
err_cleanup:
53675365
return ret;
53685366
}
53695367

0 commit comments

Comments
 (0)