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 330dcb09)
Please register or sign in to comment