diff options
author | Richard Levitte <levitte@openssl.org> | 2002-12-11 06:59:16 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-12-11 06:59:16 +0000 |
commit | 005ef84c5d2995516955a816120e685469437087 (patch) | |
tree | 7ffb71839d2585ed6860c9e548d638758f9e1fa4 /crypto/des/des_old.h | |
parent | f92570f00a2db071dd5b99433fc2f3447ab85fd7 (diff) |
Since HEADER_DES_H has been the protector of des.h since libdes
(before SSLeay, maybe?), it's better to have that macro protect
the compatibility header des_old.h. In the new des.h, let's use
a slightly different protecting macro.
The rationale is that there are application that might include (via
other header files, perhaps) both an old libdes des.h and OpenSSL's
des.h. Whichever comes first would overshadow the other because of
the clash in protecting macro. This fix solves that problem.
Diffstat (limited to 'crypto/des/des_old.h')
-rw-r--r-- | crypto/des/des_old.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/des_old.h b/crypto/des/des_old.h index 1d8bf65101..730bd6019c 100644 --- a/crypto/des/des_old.h +++ b/crypto/des/des_old.h @@ -88,8 +88,8 @@ * */ -#ifndef HEADER_DES_OLD_H -#define HEADER_DES_OLD_H +#ifndef HEADER_DES_H +#define HEADER_DES_H #ifdef OPENSSL_NO_DES #error DES is disabled. |