mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* sha256.c (sha224_get_info): 4880 has an error in the SHA-224 OID and
we inherited it. Fixing.
This commit is contained in:
parent
ccf5233565
commit
154407fd38
2 changed files with 7 additions and 2 deletions
|
@ -356,9 +356,9 @@ sha224_get_info( int algo, size_t *contextsize,
|
|||
{
|
||||
static byte asn[] = /* Object ID is 2.16.840.1.101.3.4.2.4 */
|
||||
{
|
||||
0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86,
|
||||
0x30, 0x2D, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86,
|
||||
0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x05,
|
||||
0x00, 0x04, 0x20
|
||||
0x00, 0x04, 0x1C
|
||||
};
|
||||
|
||||
if( algo != 11 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue