diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-11-28 10:32:38 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-11-28 10:32:38 +0000 |
commit | b53d36176029927e5c4b9394f50140cebf21d19f (patch) | |
tree | 96640675b52b6b1f808ad4a86df7956344a19725 /socket.c | |
parent | 7151a63fcce316840de99b2da8bcdb03d61a770a (diff) | |
download | fetchmail-b53d36176029927e5c4b9394f50140cebf21d19f.tar.gz fetchmail-b53d36176029927e5c4b9394f50140cebf21d19f.tar.bz2 fetchmail-b53d36176029927e5c4b9394f50140cebf21d19f.zip |
Sunil's patch for the STARTTLS problem.
svn path=/trunk/; revision=3772
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -876,6 +876,8 @@ int SSLOpen(int sock, char *mycert, char *mykey, char *myproto, int certck, char _ctx = SSL_CTX_new(SSLv3_client_method()); } else if(!strcmp("tls1",myproto)) { _ctx = SSL_CTX_new(TLSv1_client_method()); + } else if (!strcmp("ssl23",myproto)) { + myproto = NULL; } else { fprintf(stderr,GT_("Invalid SSL protocol '%s' specified, using default (SSLv23).\n"), myproto); myproto = NULL; |