diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-01-03 02:45:10 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-01-03 02:45:10 +0000 |
| commit | f8020ddefe274125088b5f1e64ffed54a88a478c (patch) | |
| tree | 349f96058150e93c1765abfa753a0c338c7152f1 /lib/libfetch | |
| parent | b97c9ade96391e1141e243aabce0859b25f63c53 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch')
| -rw-r--r-- | lib/libfetch/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index 1eff41d57f7d..43f0a5fdd7b0 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -297,6 +297,7 @@ _fetch_ssl(conn_t *conn, int verbose) conn->ssl_meth = SSLv23_client_method(); conn->ssl_ctx = SSL_CTX_new(conn->ssl_meth); + SSL_CTX_set_mode(conn->ssl_ctx, SSL_MODE_AUTO_RETRY); conn->ssl = SSL_new(conn->ssl_ctx); if (conn->ssl == NULL){ |
