summaryrefslogtreecommitdiffstats
path: root/crypto/bf/bf_enc.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-01-02 14:25:27 +0000
committerMatt Caswell <matt@openssl.org>2020-01-08 11:25:25 +0000
commit03047e7b7f64b054fa85d101e7097af5daf7a865 (patch)
tree38c18f72c1a38605c1dcf885d8b25df45e161ef8 /crypto/bf/bf_enc.c
parent339638b586e77c189e8294f931b99b03d1f08dbd (diff)
Deprecate Low Level Blowfish APIs
Applications should instead use the higher level EVP APIs, e.g. EVP_Encrypt*() and EVP_Decrypt*(). Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10740)
Diffstat (limited to 'crypto/bf/bf_enc.c')
-rw-r--r--crypto/bf/bf_enc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/bf/bf_enc.c b/crypto/bf/bf_enc.c
index 3f0c5b4e4d..7a8f8db776 100644
--- a/crypto/bf/bf_enc.c
+++ b/crypto/bf/bf_enc.c
@@ -7,6 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * BF low level APIs are deprecated for public use, but still ok for internal
+ * use.
+ */
+#include "internal/deprecated.h"
+
#include <openssl/blowfish.h>
#include "bf_local.h"