- (djm) [openbsd-compat/openssl-compat.h] add

OPENSSL_[RD]SA_MAX_MODULUS_BITS defines for OpenSSL that lacks them
This commit is contained in:
Damien Miller 2014-08-30 02:30:30 +10:00
parent 3d673d103b
commit 51c77e2922
2 changed files with 13 additions and 2 deletions

View File

@ -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]

View File

@ -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 <dtucker@zip.com.au>
@ -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