diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2012-08-01 11:03:12 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2012-08-01 11:03:12 -0400 |
commit | e6c661e8f26a7f235ab9c4942a5b23b8c9ba35c2 (patch) | |
tree | 9c96ab3f20216f2cf41c17316cfe06401db0bace /WWW | |
parent | 03ef79e69d72d1bea7eb133859a06cb615902d75 (diff) | |
download | lynx-snapshots-e6c661e8f26a7f235ab9c4942a5b23b8c9ba35c2.tar.gz |
snapshot of project "lynx", label v2-8-8dev_12g
Diffstat (limited to 'WWW')
-rw-r--r-- | WWW/Library/Implementation/HTTP.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c index 86398e71..f4577886 100644 --- a/WWW/Library/Implementation/HTTP.c +++ b/WWW/Library/Implementation/HTTP.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTTP.c,v 1.123 2011/06/11 12:09:21 tom Exp $ + * $LynxId: HTTP.c,v 1.124 2012/08/01 11:00:26 tom Exp $ * * HyperText Tranfer Protocol - Client implementation HTTP.c * ========================== @@ -764,6 +764,9 @@ static int HTLoadHTTP(const char *arg, #endif /* SSLEAY_VERSION_NUMBER >= 0x0900 */ } #ifdef USE_GNUTLS_INCL + gnutls_certificate_set_verify_flags(handle->gnutls_cred, + GNUTLS_VERIFY_DO_NOT_ALLOW_SAME | + GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT); ret = gnutls_certificate_verify_peers2(handle->gnutls_state, &tls_status); if (ret < 0) { int flag_continue = 1; |