diff --git a/ChangeLog b/ChangeLog index 7ec09babc..ed5c33226 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -20140825 +20140830 + - (djm) [openbsd-compat/openssl-compat.h] add + OPENSSL_[RD]SA_MAX_MODULUS_BITS defines for OpenSSL that lacks them + +20140827 - (djm) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c] [regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] [regress/unittests/sshkey/common.c] diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h index 21002107a..d0c3307d0 100644 --- a/openbsd-compat/openssl-compat.h +++ b/openbsd-compat/openssl-compat.h @@ -1,4 +1,4 @@ -/* $Id: openssl-compat.h,v 1.29 2014/07/20 16:24:59 dtucker Exp $ */ +/* $Id: openssl-compat.h,v 1.30 2014/08/29 16:30:30 djm Exp $ */ /* * Copyright (c) 2005 Darren Tucker @@ -34,6 +34,13 @@ int ssh_compatible_openssl(long, long); # define LIBCRYPTO_EVP_INL_TYPE size_t #endif +#ifndef OPENSSL_RSA_MAX_MODULUS_BITS +# define OPENSSL_RSA_MAX_MODULUS_BITS 16384 +#endif +#ifndef OPENSSL_DSA_MAX_MODULUS_BITS +# define OPENSSL_DSA_MAX_MODULUS_BITS 10000 +#endif + #ifndef OPENSSL_HAVE_EVPCTR #define EVP_aes_128_ctr evp_aes_128_ctr #define EVP_aes_192_ctr evp_aes_128_ctr