f71a27920a
This change saves several EC routines from crashing when an EC_KEY is missing a public key. The public key is optional in the EC private key format and, without this patch, running the following through `openssl ec` causes a crash: -----BEGIN EC PRIVATE KEY----- MBkCAQEECAECAwQFBgcIoAoGCCqGSM49AwEH -----END EC PRIVATE KEY----- |
||
---|---|---|
.. | ||
asn1.c | ||
CMakeLists.txt | ||
digestsign.c | ||
evp_ctx.c | ||
evp_error.c | ||
evp.c | ||
evp.h | ||
example_sign.c | ||
internal.h | ||
p_ec_asn1.c | ||
p_ec.c | ||
p_hmac_asn1.c | ||
p_hmac.c | ||
p_rsa_asn1.c | ||
p_rsa.c | ||
pbkdf.c | ||
sign.c |