summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls12_lib.c
diff options
context:
space:
mode:
authorbeck <>2021-11-04 23:52:34 +0000
committerbeck <>2021-11-04 23:52:34 +0000
commit87decea9a33c04cfad36679efd6678bbc21363cd (patch)
tree3ca9bd91a3930e5f3e28873aa362dffdb8cf6227 /src/lib/libssl/tls12_lib.c
parent427635c8217e5b9c6e458a39dac977cc6818582f (diff)
downloadopenbsd-87decea9a33c04cfad36679efd6678bbc21363cd.tar.gz
openbsd-87decea9a33c04cfad36679efd6678bbc21363cd.tar.bz2
openbsd-87decea9a33c04cfad36679efd6678bbc21363cd.zip
Cache sha512 hash and parsed not_before and not_after with X509 cert.
Replace sha1 hash use with sha512 for certificate comparisons internal to the library. use the cached sha512 for the validator's verification cache. Reduces our recomputation of hashes, and heavy use of time1 time conversion functions noticed bu claudio@ in rpki client. ok jsing@ tb@
Diffstat (limited to 'src/lib/libssl/tls12_lib.c')
0 files changed, 0 insertions, 0 deletions