summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/crypto/des/des.h7
-rw-r--r--lib/libssl/src/crypto/des/enc_read.c2
-rw-r--r--lib/libssl/src/crypto/des/set_key.c2
3 files changed, 4 insertions, 7 deletions
diff --git a/lib/libssl/src/crypto/des/des.h b/lib/libssl/src/crypto/des/des.h
index de99c73f435..cff50b2ec58 100644
--- a/lib/libssl/src/crypto/des/des.h
+++ b/lib/libssl/src/crypto/des/des.h
@@ -107,11 +107,8 @@ typedef struct DES_ks
#define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
-extern int _shadow_DES_check_key; /* defaults to false */
-#define DES_check_key _shadow_DES_check_key
-
-extern int _shadow_DES_rw_mode; /* defaults to DES_PCBC_MODE */
-#define DES_rw_mode _shadow_DES_rw_mode
+extern int DES_check_key; /* defaults to false */
+extern int DES_rw_mode; /* defaults to DES_PCBC_MODE */
const char *DES_options(void);
void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
diff --git a/lib/libssl/src/crypto/des/enc_read.c b/lib/libssl/src/crypto/des/enc_read.c
index 8e1ff8e3eb3..5a39390219f 100644
--- a/lib/libssl/src/crypto/des/enc_read.c
+++ b/lib/libssl/src/crypto/des/enc_read.c
@@ -63,7 +63,7 @@
/* This has some uglies in it but it works - even over sockets. */
/*extern int errno;*/
-int _shadow_DES_rw_mode = DES_PCBC_MODE;
+int DES_rw_mode = DES_PCBC_MODE;
/*
diff --git a/lib/libssl/src/crypto/des/set_key.c b/lib/libssl/src/crypto/des/set_key.c
index 85a0d2bfc1c..c86a80b853b 100644
--- a/lib/libssl/src/crypto/des/set_key.c
+++ b/lib/libssl/src/crypto/des/set_key.c
@@ -66,7 +66,7 @@
#include <openssl/crypto.h>
#include "des_locl.h"
-int _shadow_DES_check_key = 0; /* defaults to false */
+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,