summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/hw_cryptodev.c
diff options
context:
space:
mode:
authorjsing <>2014-06-10 11:40:22 +0000
committerjsing <>2014-06-10 11:40:22 +0000
commitb8df1e4e560c0a6617381608d5cdc2cb018ec631 (patch)
tree530cd52603b6af5c3e22b15811390dd5b480011f /src/lib/libcrypto/engine/hw_cryptodev.c
parentd4b2cc6d6b91fce1c1cd2743e4a702d429fae542 (diff)
downloadopenbsd-b8df1e4e560c0a6617381608d5cdc2cb018ec631.tar.gz
openbsd-b8df1e4e560c0a6617381608d5cdc2cb018ec631.tar.bz2
openbsd-b8df1e4e560c0a6617381608d5cdc2cb018ec631.zip
Avoid potential NULL pointer function calls in n_ssl3_mac() by checking
the return value of EVP_MD_CTX_copy_ex(). If the copy fails early then EVP_DigestUpdate() will invoke md_ctx.update(), which will be a NULL function pointer. Analysis and patch from David Ramos. ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/engine/hw_cryptodev.c')
0 files changed, 0 insertions, 0 deletions