Hi all,

I am currently investigating a failure in IMAP SSL client certificate
verification. More to the point, I am looking for a way to tell the IMAP
server NOT to request client certificates over SSL.

In src/osdep/unix/ssl_unix.c there are functions ssl_open and ssl_start.
I do not understand why the 3rd argument to ssl_start is called "port"
when ssl_start is called from ssl_open. (It should be "flags"?)

Any help is appreciated.

Regards,
 Thomas.

>From ssl_unix.c:
...
/* SSL open
 * Accepts: host name
 *          contact service name
 *          contact port number
 * Returns: SSL stream if success else NIL
 */

SSLSTREAM *ssl_open (char *host,char *service,unsigned long port)
{
  TCPSTREAM *stream = tcp_open (host,service,port);
  return stream ? ssl_start (stream,host,port) : NIL;
}

...

/* Start SSL/TLS negotiations
 * Accepts: open TCP stream of session
 *          user's host name
 *          flags
 * Returns: SSL stream if success else NIL
 */

static SSLSTREAM *ssl_start (TCPSTREAM *tstream,char *host,unsigned long
flags)
{
...

-- 
------------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/c-client-list.html
------------------------------------------------------------------

Reply via email to