On Sat, 14 Feb 2004, Thomas Dickey wrote:

> On Sat, Feb 14, 2004 at 03:28:19PM +0900, [EMAIL PROTECTED] wrote:
> > I have a question about SSL Prompting behavior.
> > 
> >   case1: SSL Prompting is set as "prompt normally"
> >     1. try to go to https://www.gnutls.org:5555/
> >     2. press 'n' twice whenever Lynx asks me 
> >        "SSL error:unable to get local issuer certificate-Continue? (y)"
> >     3. Then Lynx doesn't connect the site.
> > 
> >   case2: SSL Prompting is set as "force no-response"
> >     1. try to go to https://www.gnutls.org:5555/
> >     2. Then Lynx *DOES* connect the site without any question to me.
> > 
> > I think case1 is OK, but case2 isn't a behavior as expected.
> > I think Lynx shouldn't connect the site in case2 as same as case1.
> > Why "force no-response" isn't equivalent to pressing 'n' manually?
> > Am I misunderstanding?
> 
> that does sound like a bug (will check/see).

I think you have already fixed this problem.
But if not yet, please try this patch.
--
Takeshi Hataguchi
E-mail: [EMAIL PROTECTED]

--- HTTP.c.bak  Tue Feb 10 09:45:34 2004
+++ HTTP.c      Sun Feb 22 21:59:12 2004
@@ -82,6 +82,11 @@
 
        FREE(msg);
     }
+    else {
+       if ((!preverify_ok) && (ssl_noprompt == FORCE_PROMPT_NO)) {
+           result = 0;
+       }
+    }
     return result;
 }
 

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to