summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authortb <>2024-12-06 04:35:03 +0000
committertb <>2024-12-06 04:35:03 +0000
commitec6a80c2122918d0d43aa05322cc30a8d45c7d81 (patch)
treeed4fda406898fc81a1d4c617faf07972aad0d8ea /src/lib/libc/stdlib/reallocarray.c
parentb32147fff9dbbaff86a38b82df29174c55cca816 (diff)
downloadopenbsd-ec6a80c2122918d0d43aa05322cc30a8d45c7d81.tar.gz
openbsd-ec6a80c2122918d0d43aa05322cc30a8d45c7d81.tar.bz2
openbsd-ec6a80c2122918d0d43aa05322cc30a8d45c7d81.zip
Set nid on group decoded from EC parameters
We match curve parameters against the builtin curves and only accept them if they're encoding a curve known to us. After getting rid of the wtls curves, some of which used to coincide with secp curves (sometimes the wrong ones), the nid is unambiguous. Setting the nid has no direct implications on the encoding. This helps ssh avoid doing ugly computations during the key exchange for PEM keys using this encoding. ok djm joshua jsing
Diffstat (limited to 'src/lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions