summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/perlasm
diff options
context:
space:
mode:
authortb <>2024-11-25 06:51:39 +0000
committertb <>2024-11-25 06:51:39 +0000
commit05a50d0f2fa123333e4c07cc68de4816f3194f55 (patch)
treec538c6d04f98723eabc7002148b5b0c899de84da /src/lib/libcrypto/perlasm
parentff56d47bbc99ed7ac64ae73eaacbc02525a11b04 (diff)
downloadopenbsd-05a50d0f2fa123333e4c07cc68de4816f3194f55.tar.gz
openbsd-05a50d0f2fa123333e4c07cc68de4816f3194f55.tar.bz2
openbsd-05a50d0f2fa123333e4c07cc68de4816f3194f55.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/perlasm')
0 files changed, 0 insertions, 0 deletions