diff options
author | Pauli <paul.dale@oracle.com> | 2020-01-15 11:13:03 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-01-19 10:14:39 +1000 |
commit | 781aa7ab63eca123ecef6eef90bbf435b881976e (patch) | |
tree | 8cf2d2f8cd42b0f90f31895d1518b1b55af0441c /providers/implementations | |
parent | 85d843c8eccce937d073a9df7a193032478e21dd (diff) |
Deprecate the low level MD5 functions.
Use of the low level MD5 functions has been informally discouraged for a long
time. We now formally deprecate them.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10791)
Diffstat (limited to 'providers/implementations')
4 files changed, 11 insertions, 5 deletions
diff --git a/providers/implementations/ciphers/cipher_rc4_hmac_md5.c b/providers/implementations/ciphers/cipher_rc4_hmac_md5.c index 876c81d34d..55bdfe7384 100644 --- a/providers/implementations/ciphers/cipher_rc4_hmac_md5.c +++ b/providers/implementations/ciphers/cipher_rc4_hmac_md5.c @@ -10,8 +10,8 @@ /* Dispatch functions for RC4_HMAC_MD5 cipher */ /* - * RC4 low level APIs are deprecated for public use, but still ok for internal - * use. + * MD5 and RC4 low level APIs are deprecated for public use, but still ok for + * internal use. */ #include "internal/deprecated.h" diff --git a/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c b/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c index 767a1e3e6b..253bb54faf 100644 --- a/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c +++ b/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c @@ -10,8 +10,8 @@ /* RC4_HMAC_MD5 cipher implementation */ /* - * RC4 low level APIs are deprecated for public use, but still ok for internal - * use. + * MD5 and RC4 low level APIs are deprecated for public use, but still ok for + * internal use. */ #include "internal/deprecated.h" diff --git a/providers/implementations/digests/md5_prov.c b/providers/implementations/digests/md5_prov.c index 7b92b6139c..73071cdd95 100644 --- a/providers/implementations/digests/md5_prov.c +++ b/providers/implementations/digests/md5_prov.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * MD5 low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <openssl/crypto.h> #include <openssl/md5.h> #include "prov/digestcommon.h" diff --git a/providers/implementations/digests/md5_sha1_prov.c b/providers/implementations/digests/md5_sha1_prov.c index cd6eab6b09..4d87e2fec6 100644 --- a/providers/implementations/digests/md5_sha1_prov.c +++ b/providers/implementations/digests/md5_sha1_prov.c @@ -8,7 +8,7 @@ */ /* - * SHA-1 low level APIs are deprecated for public use, but still ok for + * MD5 and SHA-1 low level APIs are deprecated for public use, but still ok for * internal use. */ #include "internal/deprecated.h" |