]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Some minor cleanup of comments related to the OpenSSL MD5 integration
authorhno <>
Wed, 14 Nov 2001 02:25:08 +0000 (02:25 +0000)
committerhno <>
Wed, 14 Nov 2001 02:25:08 +0000 (02:25 +0000)
include/md5.h
src/squid.h

index b06a9faece56f087eef01ab1303269997f989e43..5c6080e47996a019bb153111ce0974efc7a73d1c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: md5.h,v 1.11 2001/10/17 13:30:49 hno Exp $
+ * $Id: md5.h,v 1.12 2001/11/13 19:25:08 hno Exp $
  */
 
 #ifndef SQUID_MD5_H
@@ -7,6 +7,11 @@
 
 #if USE_OPENSSL
 
+/*
+ * If Squid is compiled with OpenSSL then we use the MD5 routines
+ * from there via some wrapper macros, and the rest of this file is ignored..
+ */
+
 #if HAVE_OPENSSL_MD5_H
 #include <openssl/md5.h>
 #else
index 12edf7551721df1dfc25086617c2350346c574e9..4e7f84a3d9dff43bc5a433fd0a25077a96b3dcbb 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: squid.h,v 1.215 2001/04/14 00:03:23 hno Exp $
+ * $Id: squid.h,v 1.216 2001/11/13 19:25:08 hno Exp $
  *
  * AUTHOR: Duane Wessels
  *
@@ -371,15 +371,6 @@ struct rusage {
 
 #if USE_SSL
 #include "ssl_support.h"
-/* This is an ugly hack, but necessary.
- *
- * Squid's md5 conflicts with OpenSSL's md5, but they're more or less
- * interchangable.
- * Free is defined in include/radix.h and also in OpenSSL, but we don't need
- * OpenSSL's, so it can be undef'd and then appear from radix.h later.
- * It's dangerous and ugly, but I can't see any other way to get around it.
- */
-#undef Free
 #endif
 
 #include "Stack.h"
@@ -410,14 +401,6 @@ struct rusage {
 
 #include "util.h"
 
-/*
- * Mac OS X Server already has radix.h as a standard header, so
- * this causes conflicts.
- */
-#ifndef _SQUID_APPLE_
-#include "radix.h"
-#endif
-
 #if !HAVE_TEMPNAM
 #include "tempnam.h"
 #endif