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----- |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ec_asn1.c | ||
ec_error.c | ||
ec_key.c | ||
ec_key.h | ||
ec_montgomery.c | ||
ec.c | ||
ec.h | ||
example_mul.c | ||
internal.h | ||
oct.c | ||
simple.c | ||
wnaf.c |