Home GnuPG
Diffusion GnuPG 2bd66b59a29a

* pkclist.c (select_algo_from_prefs): Make sure the scores can't
2bd66b59a29aUnpublished

Unpublished Commit ยท Learn More

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

Description

(no title)

* pkclist.c (select_algo_from_prefs): Make sure the scores can't
overflow when picking an algorithm (not a security issue since we
can't pick something not present in all preference lists, but we might
pick something that isn't scored first choice).
* pkclist.c (select_algo_from_prefs): Slightly improve the handling of
MD5 in preference lists.  Instead of replacing MD5 with SHA-1, just
remove MD5 from the list altogether, and let the next-highest ranked
algorithm be chosen.

Details

Provenance
dshawAuthored on Oct 29 2010, 9:54 PM
Parents
rG734308680842: Fix memory leak
Branches
Unknown
Tags
Unknown

Event Timeline

David Shaw <dshaw@jabberwocky.com> committed rG2bd66b59a29a: * pkclist.c (select_algo_from_prefs): Make sure the scores can't (authored by David Shaw <dshaw@jabberwocky.com>).Oct 29 2010, 9:54 PM