]> granicus.if.org Git - openssl/commit
Add additional DigestInfo checks.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 25 Sep 2014 22:28:48 +0000 (23:28 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 29 Sep 2014 11:01:05 +0000 (12:01 +0100)
commit1cfd255c9123cdb4637cc9a65c6665fe4a06c6d5
tree86e26adccb01a6f970de107123649ea51c055d91
parent3d81ec5b92e1141762eb72caf2aeb9b2cd019a78
Add additional DigestInfo checks.

Reencode DigestInto in DER and check against the original: this
will reject any improperly encoded DigestInfo structures.

Note: this is a precautionary measure, there is no known attack
which can exploit this.

Thanks to Brian Smith for reporting this issue.
Reviewed-by: Tim Hudson <tjh@openssl.org>
CHANGES
crypto/rsa/rsa_sign.c