- binary compatability patch
PR: 87419 Submitted by: Phil Oleson
This commit is contained in:
@@ -12,7 +12,7 @@ PORTREVISION!= date -v-1d +%Y%m%d
|
||||
.else
|
||||
.if !defined(WITH_OPENSSL_BETA) && defined(WITH_OPENSSL_097)
|
||||
PORTVERSION= 0.9.7h
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
.else
|
||||
PORTVERSION= 0.9.8a
|
||||
PORTREVISION?= 0
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
--- crypto/evp/evp.h.orig Thu Oct 13 17:24:41 2005
|
||||
+++ crypto/evp/evp.h Thu Oct 13 17:26:32 2005
|
||||
@@ -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 EVP_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
|
||||
@@ -0,0 +1,14 @@
|
||||
--- crypto/hmac/hmac.h.orig Thu Oct 13 17:27:32 2005
|
||||
+++ crypto/hmac/hmac.h Thu Oct 13 17:28:43 2005
|
||||
@@ -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" {
|
||||
Reference in New Issue
Block a user