- Rebase to native Fedora version 2.19.5.
[fedora-mingw.git] / curl / curl-7.18.2-nssproxy.patch
1 diff -up curl-7.18.2/lib/nss.c.nssproxy curl-7.18.2/lib/nss.c
2 --- curl-7.18.2/lib/nss.c.nssproxy      2008-05-26 17:02:49.000000000 +0200
3 +++ curl-7.18.2/lib/nss.c       2008-06-18 07:59:52.000000000 +0200
4 @@ -804,6 +804,9 @@ CURLcode Curl_nss_connect(struct connect
5  
6    curlerr = CURLE_SSL_CONNECT_ERROR;
7  
8 +  if (connssl->state == ssl_connection_complete)
9 +    return CURLE_OK;
10 +
11    /* FIXME. NSS doesn't support multiple databases open at the same time. */
12    if(!initialized) {
13      initialized = 1;