summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2015-07-18 22:09:31 +0000
committerBob Beck <beck@cvs.openbsd.org>2015-07-18 22:09:31 +0000
commit9c8e29f9933bffe853b57428ff21c9be4617b094 (patch)
tree540ed6d338951274e00146158c77565ea7de8a43 /lib
parent7048147ab293cde448d908021582a61fd548f44f (diff)
Dead code, Coverity 78798
ok bcook@ doug@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/bio/bss_acpt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/bio/bss_acpt.c b/lib/libcrypto/bio/bss_acpt.c
index b6131c4d41a..4e3c982c2d3 100644
--- a/lib/libcrypto/bio/bss_acpt.c
+++ b/lib/libcrypto/bio/bss_acpt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bss_acpt.c,v 1.25 2014/07/25 06:05:32 doug Exp $ */
+/* $OpenBSD: bss_acpt.c,v 1.26 2015/07/18 22:09:30 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -270,8 +270,6 @@ again:
err:
if (bio != NULL)
BIO_free(bio);
- else if (s >= 0)
- close(s);
return (0);
/* break; */
case ACPT_S_OK: