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:30:58 +00:00
parent da9b972466
commit 44c09667ff
2 changed files with 7 additions and 2 deletions

View File

@ -63,5 +63,9 @@
# define OPENSSL_EXTERN OPENSSL_EXPORT
#endif
OPENSSL_EXTERN char *DES_version; /* SSLeay version string */
OPENSSL_EXTERN char *libdes_version; /* old libdes version string */
/* The following macros make sure the names are different from libdes names */
#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_ver.h"
#include "spr.h"
#include <openssl/opensslv.h>