mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:23:36 +03:00
- Mike Hommey filed and fixed bug report #1889856
(http://curl.haxx.se/bug/view.cgi?id=1889856): When using the gnutls ssl layer, cleaning-up and reinitializing curl ends up with https requests failing with "ASN1 parser: Element was not found" errors. Obviously a regression added in 7.16.3.
This commit is contained in:
parent
339ebdf08b
commit
4c841a1f0c
3 changed files with 12 additions and 2 deletions
|
|
@ -110,8 +110,10 @@ static int _Curl_gtls_init(void)
|
|||
|
||||
int Curl_gtls_cleanup(void)
|
||||
{
|
||||
if(gtls_inited)
|
||||
if(gtls_inited) {
|
||||
gnutls_global_deinit();
|
||||
gtls_inited = FALSE;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue