diff options
Diffstat (limited to 'crypto/objects')
-rw-r--r-- | crypto/objects/obj_xref.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/objects/obj_xref.c b/crypto/objects/obj_xref.c index fc870c5691..18c7ef2b4a 100644 --- a/crypto/objects/obj_xref.c +++ b/crypto/objects/obj_xref.c @@ -112,7 +112,8 @@ int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid) const nid_triple **rv; int idx; - if (dig_nid == NID_undef || pkey_nid == NID_undef) + /* permitting searches for sig algs without digest: */ + if (pkey_nid == NID_undef) return 0; tmp.hash_id = dig_nid; |