diff options
author | tb <> | 2022-07-03 08:13:45 +0000 |
---|---|---|
committer | tb <> | 2022-07-03 08:13:45 +0000 |
commit | 8b969b9cc93279f9450ae6aee0b2cf3d38c700b7 (patch) | |
tree | 1e4121b61368b799bc0aebe0e93733c80f11c399 /src/lib/libssl/ssl_seclevel.c | |
parent | d89339ce844826ca66add3df46b77bc82b37f32e (diff) | |
download | openbsd-8b969b9cc93279f9450ae6aee0b2cf3d38c700b7.tar.gz openbsd-8b969b9cc93279f9450ae6aee0b2cf3d38c700b7.tar.bz2 openbsd-8b969b9cc93279f9450ae6aee0b2cf3d38c700b7.zip |
Simplify tls1_ec_group_id2{bits,nid}()
Instead of a nonsensical NULL check, check nid_list[group_id].{bits,nid}
is not 0. This way we can drop the group_id < 1 check.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_seclevel.c')
0 files changed, 0 insertions, 0 deletions