I needed to make the following changes to get the latest CVS Mahogany to
compile in RedHat 8.0 Linux/gcc-3.2-7.  It appears to be working
correctly.

===== Begin
diff -up 'old/src/util/ssl.cpp' 'M/src/util/ssl.cpp'
Index: ./src/util/ssl.cpp
Prereq:  1.27
--- ./src/util/ssl.cpp  Sun Mar  9 12:34:52 2003
+++ ./src/util/ssl.cpp  Sun Mar  9 13:13:43 2003
@@ -107,8 +107,8 @@ SSL_DEF( int, SSL_CIPHER_get_bits, (SSL_
 SSL_DEF( SSL_CIPHER *, SSL_get_current_cipher ,(SSL *s), (s) );
 SSL_DEF( int, SSL_get_fd, (SSL *s), (s) );
 SSL_DEF( int, SSL_set_fd, (SSL *s, int fd), (s, fd) );
-SSL_DEF( int, SSL_get_error, (SSL *s, int ret_code) );
-SSL_DEF( X509 *, SSL_get_peer_certificate, (SSL *s) );
+SSL_DEF( int, SSL_get_error, (SSL *s, int ret_code), (s, ret_code) );
+SSL_DEF( X509 *, SSL_get_peer_certificate, (SSL *s), (s) );

 SSL_DEF_VOID( RAND_seed, (const void *buf,int num), (buf, num) );
 SSL_DEF( BIO *, BIO_new_socket, (int sock, int close_flag), (sock, close_flag)
);
@@ -136,7 +136,7 @@ SSL_DEF( char *, X509_NAME_oneline, (X50
 SSL_DEF( int, SSL_shutdown, (SSL *s), (s) );
 SSL_DEF_VOID( SSL_CTX_free, (SSL_CTX *ctx), (ctx) );
 SSL_DEF( RSA *, RSA_generate_key, (int bits, unsigned long e,void (*cb)(int,int,void 
*),void *cb_arg), (bits,e,cb,cb_arg) );
-SSL_DEF(int, TLSv1_client_method, (void), () );
+SSL_DEF(SSL_METHOD *, TLSv1_client_method, (void), () );
 SSL_DEF(SSL_METHOD *, SSLv23_client_method, (void), () );

 #undef SSL_DEF
===== End
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to