summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-07-12 15:50:18 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-07-12 15:50:18 +0000
commit3591d493d44af5e5ec8d454c62ad43981d51e7ce (patch)
tree89bbf092614ed257e6fea180cb2fae90698ca1f6
parent9f009d3f23c36491f47d730bee4ddd67d8b70782 (diff)
EVP_CIPH_CUSTOM_IV for our own rijndael
-rw-r--r--usr.bin/ssh/cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/cipher.c b/usr.bin/ssh/cipher.c
index 2279be3aee5..31d63960491 100644
--- a/usr.bin/ssh/cipher.c
+++ b/usr.bin/ssh/cipher.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: cipher.c,v 1.60 2002/06/23 03:26:52 deraadt Exp $");
+RCSID("$OpenBSD: cipher.c,v 1.61 2002/07/12 15:50:17 markus Exp $");
#include "xmalloc.h"
#include "log.h"
@@ -525,7 +525,7 @@ evp_rijndael(void)
rijndal_cbc.cleanup = ssh_rijndael_cleanup;
rijndal_cbc.do_cipher = ssh_rijndael_cbc;
rijndal_cbc.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH |
- EVP_CIPH_ALWAYS_CALL_INIT;
+ EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CUSTOM_IV;
return (&rijndal_cbc);
}
#endif