diff options
author | tb <> | 2023-07-22 18:32:05 +0000 |
---|---|---|
committer | tb <> | 2023-07-22 18:32:05 +0000 |
commit | 2b1933408aa0e5cad4486c6862c788a70c48670e (patch) | |
tree | 23b647d507fee13df5656ab54ae6c84c29cbbddf /src/usr.bin/openssl/openssl.1 | |
parent | 4244536f1a2e55a7e32d35ed15ac7a8fe4989fd5 (diff) | |
download | openbsd-2b1933408aa0e5cad4486c6862c788a70c48670e.tar.gz openbsd-2b1933408aa0e5cad4486c6862c788a70c48670e.tar.bz2 openbsd-2b1933408aa0e5cad4486c6862c788a70c48670e.zip |
Rewrite obj_xref.c
Instead of having two unreadable tables placed in a header generated by a
janky perl script from an ugly text file, use a single table inlined in
the C file. This table is used to translate between signature algorithm
OIDs and pairs of OIDs of a message digest and a cipher. The table has
fewer than fifty entries and isn't used in a hot path. Using binary search
is overkill. Just do two linear searches, one for each translation. None
of the original code remains apart from the API.
ok jsing
Diffstat (limited to 'src/usr.bin/openssl/openssl.1')
0 files changed, 0 insertions, 0 deletions