diff options
author | jsing <> | 2014-06-05 16:08:11 +0000 |
---|---|---|
committer | jsing <> | 2014-06-05 16:08:11 +0000 |
commit | c96d876c2d1f9d3c4c187c531cac4434ff3e905d (patch) | |
tree | 79e0fbefcde08dad4706f7b69afa20a750537019 /src/lib/libssl/d1_both.c | |
parent | bcda896309b794c3373608e890f68c962197c4a3 (diff) | |
download | openbsd-c96d876c2d1f9d3c4c187c531cac4434ff3e905d.tar.gz openbsd-c96d876c2d1f9d3c4c187c531cac4434ff3e905d.tar.bz2 openbsd-c96d876c2d1f9d3c4c187c531cac4434ff3e905d.zip |
ssl_sess_cert_new() can return NULL. Fix two cases where the return value
is unchecked, which would result in a later null pointer dereference.
While here, RSA_free, DH_free and EC_KEY_free all have implicit NULL
checks, so avoid repeating them here.
ok beck@
Diffstat (limited to 'src/lib/libssl/d1_both.c')
0 files changed, 0 insertions, 0 deletions