summaryrefslogtreecommitdiffstats
path: root/apps/genpkey.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-04-11 17:20:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-04-11 17:20:40 +0000
commit2022cfe07e331dc4b69829ca4dd45c295190d471 (patch)
tree502b38f6f67849331f027bd1a98ebb412b857eec /apps/genpkey.c
parent47b71e6ee9c421162b1cf610bd1ca22843691764 (diff)
New -mac and -macopt options to dgst utility. Reimplement -hmac option in
terms of new API.
Diffstat (limited to 'apps/genpkey.c')
-rw-r--r--apps/genpkey.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/genpkey.c b/apps/genpkey.c
index 1d1a53e84b..722aa3ce67 100644
--- a/apps/genpkey.c
+++ b/apps/genpkey.c
@@ -67,8 +67,6 @@
static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx,
const char *file, ENGINE *e);
-static int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx,
- const char *algname, ENGINE *e, int do_param);
static int genpkey_cb(EVP_PKEY_CTX *ctx);
#define PROG genpkey_main
@@ -362,8 +360,8 @@ static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx,
}
-static int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx,
- const char *algname, ENGINE *e, int do_param)
+int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx,
+ const char *algname, ENGINE *e, int do_param)
{
EVP_PKEY_CTX *ctx = NULL;
const EVP_PKEY_ASN1_METHOD *ameth;