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:20 +0000 (11:50 +0000)
commit330dcb09b2df7e1e6d1d3d14a5df7269aebd9a68
treef714b941a122c6ab093946ee311ec08f6381b43a
parent44bf7119d67272dbbe3a96c58b842aff8d93c1b4
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>
ssl/t1_lib.c