Home GnuPG
Diffusion GnuPG 327134934d79

gpg: Replace a hash algo test function.
327134934d79Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Replace a hash algo test function.

* g10/gpg.c (print_mds): Replace openpgp_md_test_algo.

This is actually not required because as of now the used OpenPGP and
Gcrypt hash algorithm numbers are identical. But that might change in
the future.

This changes the behavior of GnuPG in case it has been build with
some algorithms disabled: If those algorithms are available in
Libgcrypt, their results will be used printed anyway.

Details

Provenance
wernerAuthored on Sep 18 2014, 2:56 PM
Parents
rG0af533abd3c1: gpg: Re-indent a function.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG327134934d79: gpg: Replace a hash algo test function. (authored by Werner Koch <wk@gnupg.org>).Sep 18 2014, 2:56 PM