summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
authorjsing <>2014-05-29 11:28:18 +0000
committerjsing <>2014-05-29 11:28:18 +0000
commit90a27dd2630fc2f77d90209add109a18beb0f2e2 (patch)
tree8912bbf31ae0ce261e303eaf575cc5e716a30e1b /src/lib/libssl/d1_srvr.c
parent2ad70e8a88961d1009c50ccc6d5ee104299eebde (diff)
downloadopenbsd-90a27dd2630fc2f77d90209add109a18beb0f2e2.tar.gz
openbsd-90a27dd2630fc2f77d90209add109a18beb0f2e2.tar.bz2
openbsd-90a27dd2630fc2f77d90209add109a18beb0f2e2.zip
Fix another two cases where the return value of ssl_replace_hash() is
unchecked. In the case of tls1_change_cipher_state(), it is fairly pointless to use ssl_replace_hash(), since it does not initialise the hash and there is special handling required in the DTLS write case. Instead, just inline the part of ssl_replace_hash() that is needed and only ssl_clear_hash_ctx() the write hash in the non-DTLS case. Also add a detailed comment explaining why there needs to be specialised handling for DTLS write context and where the contexts are actually freed. ok miod@
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions