diff options
author | tb <> | 2024-11-25 06:51:39 +0000 |
---|---|---|
committer | tb <> | 2024-11-25 06:51:39 +0000 |
commit | 9b6f67fd1d0975062609168d617e567a8304ed32 (patch) | |
tree | c538c6d04f98723eabc7002148b5b0c899de84da /src/lib/libcrypto/ec/ecp_methods.c | |
parent | 0728d360c0069733084919589222cffd52b67eaa (diff) | |
download | openbsd-9b6f67fd1d0975062609168d617e567a8304ed32.tar.gz openbsd-9b6f67fd1d0975062609168d617e567a8304ed32.tar.bz2 openbsd-9b6f67fd1d0975062609168d617e567a8304ed32.zip |
Unify checking for the asn1_flag
There are only two flag values that libcrypto understands and the default
value is 1 while, helpfully, the undesirable non-default is 0. The few
existing callers set OPENSSL_EC_NAMED_CURVE or OPENSSL_EC_EXPLICIT_CURVE.
Nevertheless, the flag should be checked properly as a flag. The recent
upstream checks for EC_GROUP_get_asn1_flag(group) == OPENSSL_EC_NAMED_CURVE
don't look right either...
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_methods.c')
0 files changed, 0 insertions, 0 deletions