]> granicus.if.org Git - openssl/commitdiff
Since HEADER_DES_H has been the protector of des.h since libdes
authorRichard Levitte <levitte@openssl.org>
Wed, 11 Dec 2002 06:59:16 +0000 (06:59 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 11 Dec 2002 06:59:16 +0000 (06:59 +0000)
(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.

crypto/des/des.h
crypto/des/des_old.h

index 4cb9d84fdf6a9b21c69b9fd074678fe3166a4b0b..daaf239dbe54219ebea2235a8788dbcc7c0ce5c3 100644 (file)
@@ -56,8 +56,8 @@
  * [including the GNU Public Licence.]
  */
 
-#ifndef HEADER_DES_H
-#define HEADER_DES_H
+#ifndef HEADER_NEW_DES_H
+#define HEADER_NEW_DES_H
 
 #ifdef OPENSSL_NO_DES
 #error DES is disabled.
index 1d8bf65101763f1d39716693c3f66f9488cc0115..730bd6019c4db162f875cde12d92fbb0507b6b68 100644 (file)
@@ -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.