diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-03-07 13:29:49 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-03-14 09:52:30 +0100 |
commit | ad083f9b0ab81d094c2dbb8f5e2a5fb7738a0bfe (patch) | |
tree | eb56a38837c5834bff98dd9804011c6179fd2846 /demos/pkey/EVP_PKEY_EC_keygen.c | |
parent | dfb39f73132edf56daaad189e6791d1bdb57c4db (diff) |
Add EVP demo for RSA key generation
Fixes #14111.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17824)
Diffstat (limited to 'demos/pkey/EVP_PKEY_EC_keygen.c')
-rw-r--r-- | demos/pkey/EVP_PKEY_EC_keygen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/pkey/EVP_PKEY_EC_keygen.c b/demos/pkey/EVP_PKEY_EC_keygen.c index 14efaea53a..a0bf1cb1fd 100644 --- a/demos/pkey/EVP_PKEY_EC_keygen.c +++ b/demos/pkey/EVP_PKEY_EC_keygen.c @@ -89,7 +89,7 @@ static int get_key_values(EVP_PKEY *pkey) unsigned char out_pubkey[80]; unsigned char out_privkey[80]; BIGNUM *out_priv = NULL; - size_t i, out_pubkey_len, out_privkey_len = 0; + size_t out_pubkey_len, out_privkey_len = 0; if (!EVP_PKEY_get_utf8_string_param(pkey, OSSL_PKEY_PARAM_GROUP_NAME, out_curvename, sizeof(out_curvename), |