diff options
author | jsing <> | 2014-05-24 16:03:10 +0000 |
---|---|---|
committer | jsing <> | 2014-05-24 16:03:10 +0000 |
commit | f58af64a13c833e01a6ff4fce609b64645f00c7b (patch) | |
tree | ebe6d9a74762a55cfb0d8a7b501f6995ced8ac3a /src/lib/libcrypto/des/des.h | |
parent | 3e701b2a57219523e039e78e0cc655852ca63e1b (diff) | |
download | openbsd-f58af64a13c833e01a6ff4fce609b64645f00c7b.tar.gz openbsd-f58af64a13c833e01a6ff4fce609b64645f00c7b.tar.bz2 openbsd-f58af64a13c833e01a6ff4fce609b64645f00c7b.zip |
Remove the _shadow_ indirection, which is unnecessary in a world without
OPENSSL_EXPORT_VAR_AS_FUNCTION.
ok miod@
Diffstat (limited to 'src/lib/libcrypto/des/des.h')
-rw-r--r-- | src/lib/libcrypto/des/des.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/des.h b/src/lib/libcrypto/des/des.h index de99c73f43..cff50b2ec5 100644 --- a/src/lib/libcrypto/des/des.h +++ b/src/lib/libcrypto/des/des.h | |||
@@ -107,11 +107,8 @@ typedef struct DES_ks | |||
107 | #define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \ | 107 | #define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \ |
108 | DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n)) | 108 | DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n)) |
109 | 109 | ||
110 | extern int _shadow_DES_check_key; /* defaults to false */ | 110 | extern int DES_check_key; /* defaults to false */ |
111 | #define DES_check_key _shadow_DES_check_key | 111 | extern int DES_rw_mode; /* defaults to DES_PCBC_MODE */ |
112 | |||
113 | extern int _shadow_DES_rw_mode; /* defaults to DES_PCBC_MODE */ | ||
114 | #define DES_rw_mode _shadow_DES_rw_mode | ||
115 | 112 | ||
116 | const char *DES_options(void); | 113 | const char *DES_options(void); |
117 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | 114 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, |