提交 44c09667 编写于 作者: R Richard Levitte

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

with the definition.
上级 da9b9724
...@@ -63,5 +63,9 @@ ...@@ -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 */
...@@ -57,6 +57,7 @@ ...@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册