openssl/providers
Matt Caswell 6187d9eac2 Don't crash encoding a public key with no public key value
If asked to encode an EC_KEY public key, but no public key value is present
in the structure, we should fail rather than crash.

Fixes the crash seen here:
https://mta.openssl.org/pipermail/openssl-users/2021-October/014479.html

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16911)
2021-10-27 08:57:12 +10:00
..
common Update provider_util.c to correctly handle ENGINE references 2021-10-19 16:20:00 +01:00
fips Fix a bug in signature self tests in the FIPS module 2021-10-22 08:43:27 +01:00
implementations Don't crash encoding a public key with no public key value 2021-10-27 08:57:12 +10:00
baseprov.c Update copyright year 2021-04-08 13:04:41 +01:00
build.info Avoid duplicating prov_running.o in libdefault and libcrypto 2021-06-14 09:18:41 +10:00
decoders.inc prov: tag SM2 encoders and decoders as non-FIPS 2021-06-16 14:42:38 +01:00
defltprov.c providers: Add SM4 GCM implementation 2021-09-28 19:27:58 +10:00
encoders.inc ENCODER PROV: Add encoders with EncryptedPrivateKeyInfo output 2021-09-05 21:34:51 +02:00
fips-sources.checksums make update 2021-07-29 15:50:27 +01:00
fips.checksum make update 2021-07-29 15:50:27 +01:00
fips.module.sources make update 2021-07-29 15:50:27 +01:00
legacyprov.c kdf: Add PVK KDF to providers. 2021-09-28 18:08:41 +10:00
nullprov.c
prov_running.c
stores.inc