compiling with openssl

[email protected] (Roberto Barcellona) Mon, 17 Mar 2003 09:14:44 MET
Newsgroups gmane.network.freeswan.devel,gmane.network.freeswan.user
Message-ID <[email protected]>
 Hello to everybody, 
  I have made a modification in freeswan code in ipsec_doi.c file using some 
functions from openssl library. So I have to include some header file such as 
openssl/pem.h openssl/bn.h and openssl/rsa.h and modified the makefile of 
Pluto. 
I have found that during compiling process there is a conflict with 
declaretion in file md5.h of freeswan distribution, which is the same of 
openssl library. I have also found that commenting 
 
include "md5.h" 
 
eliminates the conflict and the MD5 hash function works yet well.Is it 
possible ? Pheraphs the compile process finds by itself the openssl library (I 
have modified in the following way: LIBSPLUTO = -lgmp -lresolv 
-L/usr/local/ssl/lib -lssl -lcrypto) without including openssl/md5.h 
 
Thanks in advance.


---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/