aboutsummaryrefslogtreecommitdiff
path: root/crypto/des/des_old.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-10-25 05:37:10 +0000
committerRichard Levitte <levitte@openssl.org>2001-10-25 05:37:10 +0000
commitcfc781be6e1362108ad836062f559d5afaff3a64 (patch)
tree8497ad0ff983057637fe8ca3d03fc4771c3d8a26 /crypto/des/des_old.c
parent84acc3c2bcd25b5401c598b594d5026a4f2a041b (diff)
downloadopenssl-cfc781be6e1362108ad836062f559d5afaff3a64.zip
openssl-cfc781be6e1362108ad836062f559d5afaff3a64.tar.gz
openssl-cfc781be6e1362108ad836062f559d5afaff3a64.tar.bz2
Have the removal warnings very high up in the source.
Diffstat (limited to 'crypto/des/des_old.c')
-rw-r--r--crypto/des/des_old.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/des/des_old.c b/crypto/des/des_old.c
index 9140358..3de4046 100644
--- a/crypto/des/des_old.c
+++ b/crypto/des/des_old.c
@@ -1,4 +1,20 @@
/* crypto/des/des_comp.c -*- mode:C; c-file-style: "eay" -*- */
+
+/* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+ *
+ * The function names in here are deprecated and are only present to
+ * provide an interface compatible with libdes. OpenSSL now provides
+ * functions where "des_" has been replaced with "DES_" in the names,
+ * to make it possible to make incompatible changes that are needed
+ * for C type security and other stuff.
+ *
+ * Please consider starting to use the DES_ functions rather than the
+ * des_ ones. The des_ functions will dissapear completely before
+ * OpenSSL 1.0!
+ *
+ * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+ */
+
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2001.
*/