openssl/providers
Nicola Tuveri e0137ca92b [EC][ASN1] Detect missing OID when serializing EC parameters and keys
The following built-in curves do not have an assigned OID:

- Oakley-EC2N-3
- Oakley-EC2N-4

In general we shouldn't assume that an OID is always available.

This commit detects such cases, raises an error and returns appropriate
return values so that the condition can be detected and correctly
handled by the callers, when serializing EC parameters or EC keys with
the default `ec_param_enc:named_curve`.

Fixes #12306

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12313)
2020-07-06 19:15:36 +03:00
..
common [EC][ASN1] Detect missing OID when serializing EC parameters and keys 2020-07-06 19:15:36 +03:00
fips Add --fips-key configuration parameter to fipsinstall application. 2020-06-29 12:20:41 +10:00
implementations [EC][ASN1] Detect missing OID when serializing EC parameters and keys 2020-07-06 19:15:36 +03:00
build.info include source root directory via -I for libnonfips.a 2020-06-24 20:07:46 +10:00
defltprov.c Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
legacyprov.c Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
nullprov.c Rename <openssl/core_numbers.h> -> <openssl/core_dispatch.h> 2020-06-24 22:01:22 +02:00