diff options
| author | beck <> | 2015-07-18 22:09:30 +0000 |
|---|---|---|
| committer | beck <> | 2015-07-18 22:09:30 +0000 |
| commit | eb210a691b5084658a753928a950eb5c4f677428 (patch) | |
| tree | 64e7df60f0c82ebde3b74d8b5401a0025483a38a /src | |
| parent | 0754ae5beb3c90c42a4f025ab0840aca20f65390 (diff) | |
| download | openbsd-eb210a691b5084658a753928a950eb5c4f677428.tar.gz openbsd-eb210a691b5084658a753928a950eb5c4f677428.tar.bz2 openbsd-eb210a691b5084658a753928a950eb5c4f677428.zip | |
Dead code, Coverity 78798
ok bcook@ doug@
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: |
