From cfc781be6e1362108ad836062f559d5afaff3a64 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 25 Oct 2001 05:37:10 +0000 Subject: [PATCH] Have the removal warnings very high up in the source. --- crypto/des/des_old.c | 16 ++++++++++++++++ crypto/des/des_old.h | 31 ++++++++++++++++--------------- 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/crypto/des/des_old.c b/crypto/des/des_old.c index 91403587ed..3de404600a 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. */ diff --git a/crypto/des/des_old.h b/crypto/des/des_old.h index d40dcf6e37..ba5c705f4a 100644 --- a/crypto/des/des_old.h +++ b/crypto/des/des_old.h @@ -1,4 +1,20 @@ /* crypto/des/des_comp.h -*- 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. */ @@ -56,21 +72,6 @@ * */ -/* 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 - */ - #ifndef HEADER_DES_COMP_H #define HEADER_DES_COMP_H -- GitLab