Home GnuPG

Fix typo in search_oid
7edcb574d8d6Unpublished

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, 10:44 AM
Parents
rC653b58cb5e85: Add MD2-HMAC calculation support
Branches
Unknown
Tags
Unknown

Event Timeline

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