summaryrefslogtreecommitdiff
path: root/lib/libssl/d1_pkt.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-05-02 16:00:34 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-05-02 16:00:34 +0000
commit023a67d5a05f755d90073d64548d4609b80c06b4 (patch)
tree46dc76d4eb7df6c430a1ff60b7fcfd3f26275d83 /lib/libssl/d1_pkt.c
parentc8e1e5e90f72e7754b71dd30c59ea1cb36e704b2 (diff)
Ensure that handshake hash is non-NULL in tls1_transcript_hash_value().
There are several paths where a subtle bug could result in tls1_transcript_hash_value() being called with a NULL handshake hash - add an explicit check for this case. As noted by tb@, due to the wonders of the libcrypto EVP APIs, combined with integer promotion, we already have a NULL check - this one is just more obvious. ok tb@
Diffstat (limited to 'lib/libssl/d1_pkt.c')
0 files changed, 0 insertions, 0 deletions