Retain binary compatibility between 0.9.7h and 0.9.7g.
This commit is contained in:
parent
473a1324fc
commit
c892524146
2 changed files with 8 additions and 0 deletions
|
@ -132,7 +132,11 @@
|
|||
#define EVP_CAST5_KEY_SIZE 16
|
||||
#define EVP_RC5_32_12_16_KEY_SIZE 16
|
||||
*/
|
||||
#ifdef OPENSSL_FIPS
|
||||
#define EVP_MAX_MD_SIZE 64 /* longest known SHA512 */
|
||||
#else
|
||||
#define EXP_MAX_MD_SIZE (16+20) /* The SSLv3 md5+sha1 type */
|
||||
#endif
|
||||
#define EVP_MAX_KEY_LENGTH 32
|
||||
#define EVP_MAX_IV_LENGTH 16
|
||||
#define EVP_MAX_BLOCK_LENGTH 32
|
||||
|
|
|
@ -64,7 +64,11 @@
|
|||
|
||||
#include <openssl/evp.h>
|
||||
|
||||
#ifdef OPENSSL_FIPS
|
||||
#define HMAC_MAX_MD_CBLOCK 128
|
||||
#else
|
||||
#define HMAC_MAX_MD_CBLOCK 64
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in a new issue