Home GnuPG

Fix typo in search_oid
6133d9a041b5Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix typo in search_oid

* cipher/md.c (search_oid): Invert condition on oid comparison.

Function stricmp() returns 0 in case strings match, so proper condition
that checks for matching OID strings should be if (!stricmp(...))

  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
lumagAuthored on Dec 30 2013, 9:39 PM
wernerCommitted on Jan 13 2014, 11:28 AM
Parents
rC01cdd8d0d86b: Correct formatting of gcry_mac_get_algo_keylen documentation
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC6133d9a041b5: Fix typo in search_oid (authored by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>).Jan 13 2014, 11:28 AM