diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2008-01-07 23:51:16 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2008-01-07 23:51:16 -0500 |
commit | 92e120361baf8d55566015fe7bf09ac91f06a6e6 (patch) | |
tree | f39737c1ee6ee1c7e174df97e978b33c11c78238 /WWW/Library | |
parent | 297adfacb3d8f416878b4abff8db35df6366aaa8 (diff) | |
download | lynx-snapshots-92e120361baf8d55566015fe7bf09ac91f06a6e6.tar.gz |
snapshot of project "lynx", label v2-8-7dev_7c
Diffstat (limited to 'WWW/Library')
-rw-r--r-- | WWW/Library/Implementation/HTTP.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c index bf8ddf29..199ad876 100644 --- a/WWW/Library/Implementation/HTTP.c +++ b/WWW/Library/Implementation/HTTP.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTTP.c,v 1.89 2008/01/03 01:05:46 Joey.Schulze Exp $ + * $LynxId: HTTP.c,v 1.90 2008/01/06 19:50:35 tom Exp $ * * HyperText Tranfer Protocol - Client implementation HTTP.c * ========================== @@ -79,6 +79,15 @@ static int HTSSLCallback(int preverify_ok, X509_STORE_CTX * x509_ctx GCC_UNUSED) char *msg = NULL; int result = 1; +#ifdef USE_X509_SUPPORT + HTSprintf0(&msg, + gettext("SSL callback:%s, preverify_ok=%d, ssl_okay=%d"), + X509_verify_cert_error_string(X509_STORE_CTX_get_error(x509_ctx)), + preverify_ok, ssl_okay); + _HTProgress(msg); + FREE(msg); +#endif + if (!(preverify_ok || ssl_okay || ssl_noprompt)) { #ifdef USE_X509_SUPPORT HTSprintf0(&msg, SSL_FORCED_PROMPT, @@ -439,7 +448,7 @@ static BOOL acceptEncoding(int code) } #ifdef USE_SSL -static void show_cert_issuer(X509 * peer_cert) +static void show_cert_issuer(X509 * peer_cert GCC_UNUSED) { #if defined(USE_OPENSSL_INCL) char ssl_dn[1024]; |