summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err.c
diff options
context:
space:
mode:
authorbeck <>2025-05-20 05:39:08 +0000
committerbeck <>2025-05-20 05:39:08 +0000
commitea07a243e7c72366afbf4d5e54578f68c061e6e7 (patch)
treebec3bc3f81054a41d9cb7e104d3c76a4b34c649a /src/lib/libcrypto/err/err.c
parent211b9df21ce4cb41c95de7fbc558ebdf3c53d921 (diff)
downloadopenbsd-ea07a243e7c72366afbf4d5e54578f68c061e6e7.tar.gz
openbsd-ea07a243e7c72366afbf4d5e54578f68c061e6e7.tar.bz2
openbsd-ea07a243e7c72366afbf4d5e54578f68c061e6e7.zip
Don't use the array index as the group_id
This is a precursor to adding new group ids for post quantum stuff which are up in the 4000 range, so using the array index as the group id will be silly. Instead we just add the group id to the structure and we walk the list to find it. This should never be a very large list for us, so no need to do anything cuter than linear search for now. ok jsing@, joshua@
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
0 files changed, 0 insertions, 0 deletions