lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Lynx and SSL


From: Thomas Dickey
Subject: Re: lynx-dev Lynx and SSL
Date: Sun, 26 Aug 2001 18:59:26 -0400
User-agent: Mutt/1.2.5i

On Sun, Aug 26, 2001 at 04:03:53PM +0000, Patrick Ash   wrote:
> On Sun, 26 Aug 2001 15:59:57 -0400, Thomas Dickey wrote:
> 
> OpenSSL built in, I have written some
> >> code to provide a status line message that will give the user info on
> >> the level of encryption for the current page. I have put this into a
> >> macro in lymainloop.c and mapped it to a key combination. 
> >> 
> >> The macro uses "#ifdef USE_SSL"  to determine if SSL support is built
> >> into Lynx. The problem I am having is that with just#ifdef USE_SSL,
> >> the macro does not execute. If I add an #else, the error message
> >> prints fine. 
> >
> >it should (USE_SSL would only be defined if the configure-script defines it)
> >--> I need more info
> > 
> 
> I use --with-ssl=/openssl-0.9.6b in the configure script. Lynx builds
> without problem, and I can go to https sites without any error.
> Testing on the  fortify site 
> 
> https://www.fortify.net/cgi-bin/ssl
> 
> shows Lynx using 168 bit encryption. 

does lynx_cfg.h have USE_SSL defined?
That's done by this bit of configure script:

AC_TRY_LINK([
#include <stdio.h>
#ifdef USE_OPENSSL_INCL
#include <openssl/ssl.h>
#else
#include <ssl.h>
#endif
],
        [SSL_shutdown((SSL *)0)],
        [cf_ssl_library=yes],
        [cf_ssl_library=no])
AC_MSG_RESULT($cf_ssl_library)
if test "$cf_ssl_library" = yes ; then
        AC_DEFINE(USE_SSL)
else
        AC_ERROR(Cannot link with ssl library)
fi

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]