]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - demos/pkcs12/pkwrite.c
Update copyright year
[thirdparty/openssl.git] / demos / pkcs12 / pkwrite.c
index e9ad8cde26b77e2a9ec9f9a2f26051898ed29979..51afd25a260d8367c6ee19b2bc49874c54776c6b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the Apache License 2.0 (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -42,7 +42,7 @@ int main(int argc, char **argv)
         exit(1);
     }
     if ((fp = fopen(argv[4], "wb")) == NULL) {
-        fprintf(stderr, "Error opening file %s\n", argv[1]);
+        fprintf(stderr, "Error opening file %s\n", argv[4]);
         ERR_print_errors_fp(stderr);
         exit(1);
     }