Skip to content

EVP_PKEY_get1_EC_KEY XCode 16 #245

@cloudzym

Description

@cloudzym

Hi, hope you are doing great!

Just want to ask if anyone facing an issue that updating to xcode16 that's calling this EVP_PKEY_get1_EC_KEY(evpKey) will crash? it was working previously for XCode 15

this is how i get the EVP_PKEY

const char *pemCString = [pemString UTF8String];
BIO *bio = BIO_new_mem_buf((void *)pemCString, (int)strlen(pemCString));
EVP_PKEY *evpKey = PEM_read_bio_PUBKEY(bio, NULL, NULL, NULL);

and evpKey is not null before i passing it into
EVP_PKEY_get1_EC_KEY(evpKey)

and also few other cases where i did
EVP_PKEY_free(evpKey);
will crash too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions