diff options
| author | jsing <> | 2014-05-22 17:53:00 +0000 |
|---|---|---|
| committer | jsing <> | 2014-05-22 17:53:00 +0000 |
| commit | 6ad0ba42a7ed2a0a965264f958d1610e77ea3392 (patch) | |
| tree | a9c417fe63b3c1f21c7f955e6f9898066cdbe0ea /src/lib/libcrypto/des | |
| parent | 44969861a5fe3788fcc9114e6b407a669e709ad0 (diff) | |
| download | openbsd-6ad0ba42a7ed2a0a965264f958d1610e77ea3392.tar.gz openbsd-6ad0ba42a7ed2a0a965264f958d1610e77ea3392.tar.bz2 openbsd-6ad0ba42a7ed2a0a965264f958d1610e77ea3392.zip | |
Expand the OPENSSL_{GLOBAL,EXPORT,IMPORT,EXTERN} macros - this rids the
libssl tree from all uses of these defines.
ok miod@
Diffstat (limited to 'src/lib/libcrypto/des')
| -rw-r--r-- | src/lib/libcrypto/des/des_ver.h | 6 | ||||
| -rw-r--r-- | src/lib/libcrypto/des/ecb_enc.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/des/spr.h | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/libcrypto/des/des_ver.h b/src/lib/libcrypto/des/des_ver.h index b4a6ffdc39..bd056ba23b 100644 --- a/src/lib/libcrypto/des/des_ver.h +++ b/src/lib/libcrypto/des/des_ver.h | |||
| @@ -56,11 +56,9 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <openssl/e_os2.h> | ||
| 60 | |||
| 61 | /* The following macros make sure the names are different from libdes names */ | 59 | /* The following macros make sure the names are different from libdes names */ |
| 62 | #define DES_version OSSL_DES_version | 60 | #define DES_version OSSL_DES_version |
| 63 | #define libdes_version OSSL_libdes_version | 61 | #define libdes_version OSSL_libdes_version |
| 64 | 62 | ||
| 65 | OPENSSL_EXTERN const char OSSL_DES_version[]; /* SSLeay version string */ | 63 | extern const char OSSL_DES_version[]; /* SSLeay version string */ |
| 66 | OPENSSL_EXTERN const char OSSL_libdes_version[]; /* old libdes version string */ | 64 | extern const char OSSL_libdes_version[]; /* old libdes version string */ |
diff --git a/src/lib/libcrypto/des/ecb_enc.c b/src/lib/libcrypto/des/ecb_enc.c index f357333b97..b07916758f 100644 --- a/src/lib/libcrypto/des/ecb_enc.c +++ b/src/lib/libcrypto/des/ecb_enc.c | |||
| @@ -61,8 +61,8 @@ | |||
| 61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
| 62 | #include <openssl/bio.h> | 62 | #include <openssl/bio.h> |
| 63 | 63 | ||
| 64 | OPENSSL_GLOBAL const char libdes_version[]="libdes" OPENSSL_VERSION_PTEXT; | 64 | const char libdes_version[]="libdes" OPENSSL_VERSION_PTEXT; |
| 65 | OPENSSL_GLOBAL const char DES_version[]="DES" OPENSSL_VERSION_PTEXT; | 65 | const char DES_version[]="DES" OPENSSL_VERSION_PTEXT; |
| 66 | 66 | ||
| 67 | const char *DES_options(void) | 67 | const char *DES_options(void) |
| 68 | { | 68 | { |
diff --git a/src/lib/libcrypto/des/spr.h b/src/lib/libcrypto/des/spr.h index b91936a5a5..98ec61eee7 100644 --- a/src/lib/libcrypto/des/spr.h +++ b/src/lib/libcrypto/des/spr.h | |||
| @@ -56,7 +56,7 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | OPENSSL_GLOBAL const DES_LONG DES_SPtrans[8][64]={ | 59 | const DES_LONG DES_SPtrans[8][64]={ |
| 60 | { | 60 | { |
| 61 | /* nibble 0 */ | 61 | /* nibble 0 */ |
| 62 | 0x02080800L, 0x00080000L, 0x02000002L, 0x02080802L, | 62 | 0x02080800L, 0x00080000L, 0x02000002L, 0x02080802L, |
