Avoid yet another name clash with libdes, and make the declaration consistent

with the definition.
This commit is contained in:
Richard Levitte 2002-08-01 19:31:15 +00:00
parent 13ac37d01a
commit 162d858a90
2 changed files with 7 additions and 2 deletions

View File

@ -63,5 +63,9 @@
# define OPENSSL_EXTERN OPENSSL_EXPORT # define OPENSSL_EXTERN OPENSSL_EXPORT
#endif #endif
OPENSSL_EXTERN char *DES_version; /* SSLeay version string */ /* The following macros make sure the names are different from libdes names */
OPENSSL_EXTERN char *libdes_version; /* old libdes version string */ #define DES_version OSSL_DES_version
#define libdes_version OSSL_libdes_version
OPENSSL_EXTERN const char *OSSL_DES_version; /* SSLeay version string */
OPENSSL_EXTERN const char *OSSL_libdes_version; /* old libdes version string */

View File

@ -57,6 +57,7 @@
*/ */
#include "des_locl.h" #include "des_locl.h"
#include "des_ver.h"
#include "spr.h" #include "spr.h"
#include <openssl/opensslv.h> #include <openssl/opensslv.h>