提交 12852213 编写于 作者: R Richard Levitte

To avoid all kinds of link-level clashes, rename all old des_*

functions to _old_des_*.
上级 5dcf517d
...@@ -201,15 +201,15 @@ ...@@ -201,15 +201,15 @@
[Bodo Moeller] [Bodo Moeller]
+) Change all functions with names starting with des_ to be starting +) Change all functions with names starting with des_ to be starting
with DES_ instead. This because there are increasing clashes with with DES_ instead. Add wrappers that are compatible with libdes,
libdes and other des libraries that are currently used by other but are named _old_des_*. Finally, add macros that map the des_*
projects. The old libdes interface is provided, as well as crypt(), symbols to the corresponding _old_des_*.
if openssl/des_old.h is included. Note that crypt() is no longer
declared in openssl/des.h. All this is done because there are increasing clashes with libdes
In order to maintain compatibility with current applications using and other des libraries that are currently used by other projects.
libcrypto, the old libdes interface is still provided, as long as For now, the old libdes interface is provided, as well as crypt(),
OPENSSL_NO_OLD_DES_SUPPORT is not defined, by automatically including unless OPENSSL_NO_OLD_DES_SUPPORT is defined, or if openssl/des_old.h
openssl/des_old.h. is included. Note that crypt() is no longer declared in openssl/des.h.
NOTE: This is a major break of an old API into a new one. Software NOTE: This is a major break of an old API into a new one. Software
authors are encouraged to switch to the DES_ style functions. Some authors are encouraged to switch to the DES_ style functions. Some
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册