Skip to content

deprecated openssl functions #10477

@tobtoht

Description

@tobtoht

RSA_free(ptr);

EC_KEY_free(ptr);

EC_KEY_free(ptr);

if (RSA_generate_key_ex(rsa.get(), 4096, exponent.get(), nullptr) != 1)

if (EVP_PKEY_assign_RSA(pkey, rsa.get()) <= 0)

openssl_ec_key ec_key{EC_KEY_new()};

if (EC_KEY_set_group(ec_key.get(), group) != 1)

if (EC_KEY_generate_key(ec_key.get()) != 1)

if (EVP_PKEY_assign_EC_KEY(pkey, ec_key.get()) <= 0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions