diff options
| -rw-r--r-- | src/lib/libssl/src/apps/enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/src/apps/enc.c b/src/lib/libssl/src/apps/enc.c index 458f47e441..4aa2c6a0ed 100644 --- a/src/lib/libssl/src/apps/enc.c +++ b/src/lib/libssl/src/apps/enc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: enc.c,v 1.35 2014/06/12 15:49:27 deraadt Exp $ */ | 1 | /* $OpenBSD: enc.c,v 1.36 2014/06/29 18:22:10 logan 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 | * |
| @@ -230,6 +230,7 @@ enc_main(int argc, char **argv) | |||
| 230 | if (!fgets(buf, sizeof buf, infile)) { | 230 | if (!fgets(buf, sizeof buf, infile)) { |
| 231 | BIO_printf(bio_err, "unable to read key from '%s'\n", | 231 | BIO_printf(bio_err, "unable to read key from '%s'\n", |
| 232 | file); | 232 | file); |
| 233 | fclose(infile); | ||
| 233 | goto bad; | 234 | goto bad; |
| 234 | } | 235 | } |
| 235 | fclose(infile); | 236 | fclose(infile); |
