aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-11-28 10:32:38 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-11-28 10:32:38 +0000
commitb53d36176029927e5c4b9394f50140cebf21d19f (patch)
tree96640675b52b6b1f808ad4a86df7956344a19725 /socket.c
parent7151a63fcce316840de99b2da8bcdb03d61a770a (diff)
downloadfetchmail-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index f1bea9f6..bef0deea 100644
--- a/socket.c
+++ b/socket.c
@@ -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;