HTTPS connections may see redirects, so initialize libcrypto and libssl
authorjca <jca@openbsd.org>
Mon, 19 May 2014 20:03:16 +0000 (20:03 +0000)
committerjca <jca@openbsd.org>
Mon, 19 May 2014 20:03:16 +0000 (20:03 +0000)
commit8042939c08bf50a5817d82dcc5a7bacded8672f8
treeccba0307cecdc2c0975e8763a55ba683255046b2
parentf3658d6be0ae06ab81fa93e431b7aa434333d684
HTTPS connections may see redirects, so initialize libcrypto and libssl
only once, and reuse the crafted SSL_CTX for further connections.
ok lteo@
usr.bin/ftp/fetch.c