Greetings, Can't reply directly to the squid3@.... address from here. One of us is blacklisted ( probably my end at excite.com ) Anyway... it's a small header. I think the identification section in the header comment provides license enough to include it in the body of a plain text email message. If not, I guess I'm going to jail..... $> cat /usr/include/sys/md5.h /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* * Cleaned up version of the md5.h header file from RFC 1321. */ /* * MD5.H - header file for MD5C.C */ /* * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All * rights reserved. * * License to copy and use this software is granted provided that it * is identified as the "RSA Data Security, Inc. MD5 Message-Digest * Algorithm" in all material mentioning or referencing this software * or this function. * * License is also granted to make and use derivative works provided * that such works are identified as "derived from the RSA Data * Security, Inc. MD5 Message-Digest Algorithm" in all material * mentioning or referencing the derived work. * * RSA Data Security, Inc. makes no representations concerning either * the merchantability of this software or the suitability of this * software for any particular purpose. It is provided "as is" * without express or implied warranty of any kind. * * These notices must be retained in any copies of any part of this * documentation and/or software. */ #ifndef _SYS_MD5_H #define _SYS_MD5_H #pragma ident "@(#)md5.h 1.10 07/04/10 SMI" #include <sys/types.h> /* for uint_* */ /* * Definitions for MD5 hashing functions, conformant to RFC 1321 */ #ifdef __cplusplus extern "C" { #endif #define MD5_DIGEST_LENGTH 16 /* MD5 context. */ typedef struct { uint32_t state[4]; /* state (ABCD) */ uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ union { uint8_t buf8[64]; /* undigested input */ uint32_t buf32[16]; /* realigned input */ } buf_un; } MD5_CTX; void MD5Init(MD5_CTX *); void MD5Update(MD5_CTX *, const void *, unsigned int); void MD5Final(void *, MD5_CTX *); #ifdef __cplusplus } #endif #endif /* _SYS_MD5_H */ Thanks much and kind regards! -- Randall D. DuCharme (Radio AD5GB) Powered by OpenSolaris! http://www.opensolaris.org --- On Wed 11/07, Amos Jeffries < squid3@xxxxxxxxxxxxx > wrote: From: Amos Jeffries [mailto: squid3@xxxxxxxxxxxxx] To: radio-ad5gb@xxxxxxxxxx Cc: rousskov@xxxxxxxxxxxxxxxxxxxxxxx, squid-users@xxxxxxxxxxxxxxx Date: Thu, 8 Nov 2007 16:53:45 +1300 (NZDT) Subject: Re: Solaris/OpenSSL/MD5 Issues >> Greetings,>> First of all please note that I was using the SunStudio-12 compiler> and not GCC for this. I'm sorry if I was not clear on that point.>> If I use GCC however I do not get any complaint about the operator> overloading. It ends up like this.>> g++ -DHAVE_CONFIG_H> -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.> -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include> -I/usr/include/libxml2 -I/usr/local/include -Werror -Wall -Wpointer-arith> -Wwrite-strings -Wcomments -D_REENTRANT -pthreads -DSOLARIS2=11 -g -O2 -MT> IPInterception.lo -MD -MP -MF .deps/IPInterception.Tpo -c> IPInterception.cc -o IPInterception.o> In file included from /usr/include/inet/ip_stack.h:37,> from /usr/include/inet/ip.h:50,> from /usr/include/netinet/ip_compat.h:189,> from IPInterception.cc:59:> /usr/include/sys/md5.h:62: error: conflicting declaration 'typedef struct> MD5_CTX MD5_CTX'> ../include/md5.h:59: error: 'MD5_CTX' has a previous declaration as> `typedef struct MD5Context MD5_CTX'> /usr/include/sys/md5.h:62: error: declaration of `typedef struct MD5_CTX> MD5_CTX'This is a separate issue. In the absence of --enable-ssl config optionsquid provides a simple implementation of MD5. It appears that your OSprovides one too.I think I can fix this but will need to see a copy of your/usr/include/sys/md5.h that is clashing with the squid one.ThanksAmos _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web!