Add a return value check
authorMatt Caswell <matt@openssl.org>
Wed, 11 Nov 2015 10:44:07 +0000 (10:44 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 10 Dec 2015 11:50:45 +0000 (11:50 +0000)
commitf4d1926f9546e84631fdfd9bd68af86ffe4021b2
tree4814ee33494ceaf661e8906566a0cf6ee2586b6a
parent9501418ea2287658d1a11ce888ff97fa49e9164d
Add a return value check

If the call to OBJ_find_sigid_by_algs fails to find the relevant NID then
we should set the NID to NID_undef.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 330dcb09b2df7e1e6d1d3d14a5df7269aebd9a68)
ssl/t1_lib.c