From 377714c1b61e7397ead1371c378105b908dc3033 Mon Sep 17 00:00:00 2001 From: beck <> Date: Sat, 18 Jul 2015 22:09:30 +0000 Subject: Dead code, Coverity 78798 ok bcook@ doug@ --- src/lib/libcrypto/bio/bss_acpt.c | 4 +--- src/lib/libssl/src/crypto/bio/bss_acpt.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c index b6131c4d41..4e3c982c2d 100644 --- a/src/lib/libcrypto/bio/bss_acpt.c +++ b/src/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: diff --git a/src/lib/libssl/src/crypto/bio/bss_acpt.c b/src/lib/libssl/src/crypto/bio/bss_acpt.c index b6131c4d41..4e3c982c2d 100644 --- a/src/lib/libssl/src/crypto/bio/bss_acpt.c +++ b/src/lib/libssl/src/crypto/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: -- cgit v1.2.3-55-g6feb