summaryrefslogtreecommitdiff
path: root/cipher.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-15 17:52:49 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-15 17:52:49 +0000
commitc491b0def1ac7b468bc6ce3ceffc3493b102ca1d (patch)
tree42d3315ef11b4e66f455df12d1eb1cd37ac947c1 /cipher.c
parent728aa7e18c378ce990aa3419917c665181904ba8 (diff)
- markus@cvs.openbsd.org 2002/07/12 15:50:17
[cipher.c] EVP_CIPH_CUSTOM_IV for our own rijndael
Diffstat (limited to 'cipher.c')
-rw-r--r--cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher.c b/cipher.c
index 6db340d7a..9e8ef999b 100644
--- a/cipher.c
+++ b/cipher.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: cipher.c,v 1.60 2002/06/23 03:26:52 deraadt Exp $"); 38RCSID("$OpenBSD: cipher.c,v 1.61 2002/07/12 15:50:17 markus Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "log.h" 41#include "log.h"
@@ -567,7 +567,7 @@ evp_rijndael(void)
567 rijndal_cbc.do_cipher = ssh_rijndael_cbc; 567 rijndal_cbc.do_cipher = ssh_rijndael_cbc;
568#ifndef SSH_OLD_EVP 568#ifndef SSH_OLD_EVP
569 rijndal_cbc.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | 569 rijndal_cbc.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH |
570 EVP_CIPH_ALWAYS_CALL_INIT; 570 EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CUSTOM_IV;
571#endif 571#endif
572 return (&rijndal_cbc); 572 return (&rijndal_cbc);
573} 573}