diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-27 13:04:30 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-27 13:04:30 +0000 |
commit | 21ea38f367237fe9ecaa32872f672aa716dca75b (patch) | |
tree | 74db9665eb9e165829ab6ca22dabecf9babbad1b /src/sbearssl | |
parent | d1905957428af0f5280fe7bfcb3be35a320d39c3 (diff) | |
download | s6-networking-21ea38f367237fe9ecaa32872f672aa716dca75b.tar.xz |
Fix double close in sbearssl_cert_readfile
Diffstat (limited to 'src/sbearssl')
-rw-r--r-- | src/sbearssl/sbearssl_cert_readfile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sbearssl/sbearssl_cert_readfile.c b/src/sbearssl/sbearssl_cert_readfile.c index 6cc78c1..4ad693d 100644 --- a/src/sbearssl/sbearssl_cert_readfile.c +++ b/src/sbearssl/sbearssl_cert_readfile.c @@ -42,7 +42,6 @@ int sbearssl_cert_readfile (char const *fn, genalloc *certs, stralloc *sa) } genalloc_free(sbearssl_pemobject, &pems) ; - fd_close(fd) ; return 0 ; fail: |