diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/bio/bss_acpt.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/bio/bss_acpt.c | 4 |
2 files changed, 2 insertions, 6 deletions
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 @@ | |||
1 | /* $OpenBSD: bss_acpt.c,v 1.25 2014/07/25 06:05:32 doug Exp $ */ | 1 | /* $OpenBSD: bss_acpt.c,v 1.26 2015/07/18 22:09:30 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -270,8 +270,6 @@ again: | |||
270 | err: | 270 | err: |
271 | if (bio != NULL) | 271 | if (bio != NULL) |
272 | BIO_free(bio); | 272 | BIO_free(bio); |
273 | else if (s >= 0) | ||
274 | close(s); | ||
275 | return (0); | 273 | return (0); |
276 | /* break; */ | 274 | /* break; */ |
277 | case ACPT_S_OK: | 275 | 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 @@ | |||
1 | /* $OpenBSD: bss_acpt.c,v 1.25 2014/07/25 06:05:32 doug Exp $ */ | 1 | /* $OpenBSD: bss_acpt.c,v 1.26 2015/07/18 22:09:30 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -270,8 +270,6 @@ again: | |||
270 | err: | 270 | err: |
271 | if (bio != NULL) | 271 | if (bio != NULL) |
272 | BIO_free(bio); | 272 | BIO_free(bio); |
273 | else if (s >= 0) | ||
274 | close(s); | ||
275 | return (0); | 273 | return (0); |
276 | /* break; */ | 274 | /* break; */ |
277 | case ACPT_S_OK: | 275 | case ACPT_S_OK: |