Skip to content

Commit

Permalink
Merge pull request certnanny#45 from flomar/master
Browse files Browse the repository at this point in the history
this patch prevents segfaults on some systems when verbose mode is active
  • Loading branch information
aleibl committed Apr 16, 2015
2 parents 6ca3bba + 6a48494 commit 2b401a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void sscep_engine_read_key(EVP_PKEY **key, char *id, ENGINE *e) {

if(*key == 0) {
if(v_flag)
printf("%s: Pivate key %s could not be loaded via engine, trying file load\n", pname);
printf("%s: Pivate key %s could not be loaded via engine, trying file load\n", pname, id);
read_key(key, id);
if(*key != 0)
printf("%s: Found private key %s as file. If the engine can handle it, loading the file\n", pname, id);
Expand Down

0 comments on commit 2b401a4

Please sign in to comment.