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

Markus Friedl markus at openbsd.org
Fri Jul 12 20:43:30 EST 2002


did anyone check this?

On Wed, Jul 10, 2002 at 05:35:35PM +0200, Markus Friedl wrote:
> 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]
> 
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list