summaryrefslogtreecommitdiffstats
path: root/crypto/des
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-05-20 20:11:19 +0000
committerAndy Polyakov <appro@openssl.org>2007-05-20 20:11:19 +0000
commite4317d2031759900d964e6f2ab03589b4317dfa2 (patch)
treebbf3cdff78b48399169241bf945bbb0093a4575d /crypto/des
parent61775daf000e0249a357edfd1dece2ec5dd0e851 (diff)
OPENSSL_IMPLEMENT_GLOBAL caused more grief than it's worth (it's used twice
in legacy code). I'd rather just remove it along with legacy interface, but it's probably not as appropriate as I'd like. Reimplement the macro.
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/enc_read.c2
-rw-r--r--crypto/des/set_key.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/enc_read.c b/crypto/des/enc_read.c
index ce82125b6f..b86620f568 100644
--- a/crypto/des/enc_read.c
+++ b/crypto/des/enc_read.c
@@ -63,7 +63,7 @@
/* This has some uglies in it but it works - even over sockets. */
/*extern int errno;*/
-OPENSSL_IMPLEMENT_GLOBAL(int,DES_rw_mode)=DES_PCBC_MODE;
+OPENSSL_IMPLEMENT_GLOBAL(int,DES_rw_mode,DES_PCBC_MODE)
/*
diff --git a/crypto/des/set_key.c b/crypto/des/set_key.c
index 55efe03f42..d8499998b7 100644
--- a/crypto/des/set_key.c
+++ b/crypto/des/set_key.c
@@ -65,7 +65,7 @@
*/
#include "des_locl.h"
-OPENSSL_IMPLEMENT_GLOBAL(int,DES_check_key); /* defaults to false */
+OPENSSL_IMPLEMENT_GLOBAL(int,DES_check_key,0) /* defaults to false */
static const unsigned char odd_parity[256]={
1, 1, 2, 2, 4, 4, 7, 7, 8, 8, 11, 11, 13, 13, 14, 14,