diff options
| author | jsing <> | 2014-07-12 17:54:31 +0000 |
|---|---|---|
| committer | jsing <> | 2014-07-12 17:54:31 +0000 |
| commit | 60d855866ac8220edd815b7ca71575527f94d339 (patch) | |
| tree | 7c04123f9b801e98ac816d7abe737855232beaba /src/lib/libssl/src/apps/genrsa.c | |
| parent | 9a6cbff11e469fd97a9dfc09e9d9970f0357b9fb (diff) | |
| download | openbsd-60d855866ac8220edd815b7ca71575527f94d339.tar.gz openbsd-60d855866ac8220edd815b7ca71575527f94d339.tar.bz2 openbsd-60d855866ac8220edd815b7ca71575527f94d339.zip | |
openssl(1) is only built as a single monolithic binary, so just call
load_config() once when we start.
ok miod@
Diffstat (limited to 'src/lib/libssl/src/apps/genrsa.c')
| -rw-r--r-- | src/lib/libssl/src/apps/genrsa.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libssl/src/apps/genrsa.c b/src/lib/libssl/src/apps/genrsa.c index 7b670ece6b..dba1d8ccad 100644 --- a/src/lib/libssl/src/apps/genrsa.c +++ b/src/lib/libssl/src/apps/genrsa.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: genrsa.c,v 1.35 2014/07/09 21:02:35 tedu Exp $ */ | 1 | /* $OpenBSD: genrsa.c,v 1.36 2014/07/12 17:54:31 jsing 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 | * |
| @@ -114,9 +114,6 @@ genrsa_main(int argc, char **argv) | |||
| 114 | 114 | ||
| 115 | BN_GENCB_set(&cb, genrsa_cb, bio_err); | 115 | BN_GENCB_set(&cb, genrsa_cb, bio_err); |
| 116 | 116 | ||
| 117 | if (!load_config(bio_err, NULL)) | ||
| 118 | goto err; | ||
| 119 | |||
| 120 | if ((out = BIO_new(BIO_s_file())) == NULL) { | 117 | if ((out = BIO_new(BIO_s_file())) == NULL) { |
| 121 | BIO_printf(bio_err, "unable to create BIO for output\n"); | 118 | BIO_printf(bio_err, "unable to create BIO for output\n"); |
| 122 | goto err; | 119 | goto err; |
