With bounds checking patch for gcc-3.1 problems if using AES

Markus Friedl markus at openbsd.org
Thu Jul 11 01:35:35 EST 2002


can you try something like this:

folly% cvs diff -u cipher.c
Index: cipher.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/cipher.c,v
retrieving revision 1.60
diff -u -r1.60 cipher.c
--- cipher.c    23 Jun 2002 03:26:52 -0000      1.60
+++ cipher.c    10 Jul 2002 15:36:29 -0000
@@ -525,7 +525,7 @@
        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
[1]




More information about the openssh-unix-dev mailing list