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/digests | |
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/digests')
-rw-r--r-- | providers/implementations/digests/md5_prov.c | 6 | ||||
-rw-r--r-- | providers/implementations/digests/md5_sha1_prov.c | 2 |
2 files changed, 7 insertions, 1 deletions
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" |