diff options
Diffstat (limited to 'tools/bftest.c')
-rw-r--r-- | tools/bftest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bftest.c b/tools/bftest.c index edfb8e36a..1b24b1c3f 100644 --- a/tools/bftest.c +++ b/tools/bftest.c @@ -97,7 +97,7 @@ main(int argc, char **argv) hd = cipher_open( algo, CIPHER_MODE_CFB, 0 ); cipher_setkey( hd, *argv, strlen(*argv) ); - cipher_setiv( hd, NULL ); + cipher_setiv( hd, NULL, 0 ); while( (n = fread( buf, 1, size, stdin )) > 0 ) { if( encode ) cipher_encrypt( hd, buf, buf, n ); |