diff options
| author | miod <> | 2014-04-27 20:22:32 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-27 20:22:32 +0000 |
| commit | bd5a66272a209275525e9b682866536ecc1fd55c (patch) | |
| tree | c8c5949ba3c7d5776bf145dc8ec67f169738347d /src/lib/libcrypto/des | |
| parent | dca0aaa15884eb5bf1105e1c7a6323f11be4abd3 (diff) | |
| download | openbsd-bd5a66272a209275525e9b682866536ecc1fd55c.tar.gz openbsd-bd5a66272a209275525e9b682866536ecc1fd55c.tar.bz2 openbsd-bd5a66272a209275525e9b682866536ecc1fd55c.zip | |
Unifdef -U OPENSSL_BUILD_SHLIBCRYPTO, since all it causes under Unix is to
redefine OPENSSL_EXTERN from `extern' to `extern'.
Diffstat (limited to 'src/lib/libcrypto/des')
| -rw-r--r-- | src/lib/libcrypto/des/des.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/des/des_locl.h | 12 | ||||
| -rw-r--r-- | src/lib/libcrypto/des/des_ver.h | 5 |
3 files changed, 1 insertions, 20 deletions
diff --git a/src/lib/libcrypto/des/des.h b/src/lib/libcrypto/des/des.h index 122fc1403c..3eff114102 100644 --- a/src/lib/libcrypto/des/des.h +++ b/src/lib/libcrypto/des/des.h | |||
| @@ -66,10 +66,6 @@ | |||
| 66 | #error DES is disabled. | 66 | #error DES is disabled. |
| 67 | #endif | 67 | #endif |
| 68 | 68 | ||
| 69 | #ifdef OPENSSL_BUILD_SHLIBCRYPTO | ||
| 70 | # undef OPENSSL_EXTERN | ||
| 71 | # define OPENSSL_EXTERN OPENSSL_EXPORT | ||
| 72 | #endif | ||
| 73 | 69 | ||
| 74 | #ifdef __cplusplus | 70 | #ifdef __cplusplus |
| 75 | extern "C" { | 71 | extern "C" { |
diff --git a/src/lib/libcrypto/des/des_locl.h b/src/lib/libcrypto/des/des_locl.h index 1b0c53038c..1a21467b3e 100644 --- a/src/lib/libcrypto/des/des_locl.h +++ b/src/lib/libcrypto/des/des_locl.h | |||
| @@ -61,24 +61,14 @@ | |||
| 61 | 61 | ||
| 62 | #include <openssl/e_os2.h> | 62 | #include <openssl/e_os2.h> |
| 63 | 63 | ||
| 64 | |||
| 65 | #include <stdio.h> | 64 | #include <stdio.h> |
| 66 | #include <stdlib.h> | 65 | #include <stdlib.h> |
| 66 | #include <string.h> | ||
| 67 | 67 | ||
| 68 | #include <unistd.h> | 68 | #include <unistd.h> |
| 69 | #include <math.h> | 69 | #include <math.h> |
| 70 | #include <openssl/des.h> | 70 | #include <openssl/des.h> |
| 71 | 71 | ||
| 72 | |||
| 73 | #if defined(__STDC__) | ||
| 74 | #include <string.h> | ||
| 75 | #endif | ||
| 76 | |||
| 77 | #ifdef OPENSSL_BUILD_SHLIBCRYPTO | ||
| 78 | # undef OPENSSL_EXTERN | ||
| 79 | # define OPENSSL_EXTERN OPENSSL_EXPORT | ||
| 80 | #endif | ||
| 81 | |||
| 82 | #define ITERATIONS 16 | 72 | #define ITERATIONS 16 |
| 83 | #define HALF_ITERATIONS 8 | 73 | #define HALF_ITERATIONS 8 |
| 84 | 74 | ||
diff --git a/src/lib/libcrypto/des/des_ver.h b/src/lib/libcrypto/des/des_ver.h index d1ada258a6..b4a6ffdc39 100644 --- a/src/lib/libcrypto/des/des_ver.h +++ b/src/lib/libcrypto/des/des_ver.h | |||
| @@ -58,11 +58,6 @@ | |||
| 58 | 58 | ||
| 59 | #include <openssl/e_os2.h> | 59 | #include <openssl/e_os2.h> |
| 60 | 60 | ||
| 61 | #ifdef OPENSSL_BUILD_SHLIBCRYPTO | ||
| 62 | # undef OPENSSL_EXTERN | ||
| 63 | # define OPENSSL_EXTERN OPENSSL_EXPORT | ||
| 64 | #endif | ||
| 65 | |||
| 66 | /* The following macros make sure the names are different from libdes names */ | 61 | /* The following macros make sure the names are different from libdes names */ |
| 67 | #define DES_version OSSL_DES_version | 62 | #define DES_version OSSL_DES_version |
| 68 | #define libdes_version OSSL_libdes_version | 63 | #define libdes_version OSSL_libdes_version |
