From 2022cfe07e331dc4b69829ca4dd45c295190d471 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 11 Apr 2007 17:20:40 +0000 Subject: New -mac and -macopt options to dgst utility. Reimplement -hmac option in terms of new API. --- apps/genpkey.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/genpkey.c') 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; -- cgit v1.2.1