summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2021-05-02 16:00:33 +0000
committerjsing <>2021-05-02 16:00:33 +0000
commitfd4dbd5fe6f9115e21352ba8bf2af64733fefecd (patch)
tree4377b53e0d791f96203b97539d53c44bbb21a39b /src/lib/libssl/ssl_locl.h
parentad1f7415eb38a81db6b28cde559a74f7686f8da2 (diff)
downloadopenbsd-fd4dbd5fe6f9115e21352ba8bf2af64733fefecd.tar.gz
openbsd-fd4dbd5fe6f9115e21352ba8bf2af64733fefecd.tar.bz2
openbsd-fd4dbd5fe6f9115e21352ba8bf2af64733fefecd.zip
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 'src/lib/libssl/ssl_locl.h')
0 files changed, 0 insertions, 0 deletions