Browse Source

Fix openssl-enc compilation

Karel Miko 8 years ago
parent
commit
ea43d9a1d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demos/openssl-enc.c

+ 1 - 1
demos/openssl-enc.c

@@ -89,7 +89,7 @@ union paddable {
  * Output:       <no return>
  * Side Effects: print messages and barf (does exit(3))
  */
-void barf(char *pname, char *err)
+void barf(const char *pname, const char *err)
 {
    printf("Usage: %s <enc|dec> infile outfile passphrase [salt]\n", pname);
    printf("\n");