* sig-check.c (signature_check2): Sanity check that the md has a context
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 7 Aug 2002 19:53:27 +0000 (19:53 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 7 Aug 2002 19:53:27 +0000 (19:53 +0000)
commite703540328c94657eddbd4128381dc34fe6ddca6
treec50fd9d60019c339c81e28652dea0b9d75cd1321
parentbed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74
* sig-check.c (signature_check2): Sanity check that the md has a context
for the hash that the sig is expecting.  This can happen if a onepass sig
header does not match the actual sig, and also if the clearsign "Hash:"
header is missing or does not match the actual sig.
g10/ChangeLog
g10/sig-check.c