diff options
author | tb <> | 2023-11-13 15:44:15 +0000 |
---|---|---|
committer | tb <> | 2023-11-13 15:44:15 +0000 |
commit | da9360872bc2fd8e8a1a9cfeafe335fd0c356342 (patch) | |
tree | b6d14daa9866b6f66dbddabc0acb35754ec170d5 /src/lib/libc | |
parent | 34491c78d388b2552abb19b71ffc01b72f2cc4e5 (diff) | |
download | openbsd-da9360872bc2fd8e8a1a9cfeafe335fd0c356342.tar.gz openbsd-da9360872bc2fd8e8a1a9cfeafe335fd0c356342.tar.bz2 openbsd-da9360872bc2fd8e8a1a9cfeafe335fd0c356342.zip |
Garbage collect an incoherent export crypto check
Contrast "#define EVP_PKT_EXP 0x1000 /* <= 512 bit key */" with the diff:
- /* /8 because it's 1024 bits we look for, not bytes */
- if (EVP_PKEY_size(pk) <= 1024 / 8)
- ret |= EVP_PKT_EXP;
EVP_PKT_EXP will be nuked at the next opportunity.
discussed with jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions