Skip to content

Commit

Permalink
openssl_encrypt requires a non-null IV.
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 18, 2015
1 parent 0731ee8 commit 1e9cdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Pgp/lib/Horde/Pgp/Crypt/Cast128.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Horde_Pgp_Crypt_Cast128

/**
*/
private $_iv;
private $_iv = "\0\0\0\0\0\0\0\0";

/**
* Constructor.
Expand Down

0 comments on commit 1e9cdf7

Please sign in to comment.