We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f11a74e commit 98bdae6Copy full SHA for 98bdae6
demos/pkcs12/pkread.c
@@ -79,7 +79,7 @@ int main(int argc, char **argv)
79
name = find_friendly_name(p12);
80
PKCS12_free(p12);
81
if ((fp = fopen(argv[3], "w")) == NULL) {
82
- fprintf(stderr, "Error opening file %s\n", argv[1]);
+ fprintf(stderr, "Error opening file %s\n", argv[3]);
83
goto err;
84
}
85
if (name != NULL)
demos/pkcs12/pkwrite.c
@@ -42,7 +42,7 @@ int main(int argc, char **argv)
42
exit(1);
43
44
if ((fp = fopen(argv[4], "wb")) == NULL) {
45
+ fprintf(stderr, "Error opening file %s\n", argv[4]);
46
ERR_print_errors_fp(stderr);
47
48
0 commit comments