mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
From devel branch
2002-09-26 Werner Koch <wk@gnupg.org> * tiger.c (tiger_get_info): Use a regular OID. Note that this breaks all TIGER generated signatures; if we want to do something about it we have to do it in ../g10/sig-check.c .
This commit is contained in:
parent
1e728329d7
commit
4e197571be
@ -1,3 +1,9 @@
|
|||||||
|
2002-09-26 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* tiger.c (tiger_get_info): Use a regular OID. Note that this
|
||||||
|
breaks all TIGER generated signatures; if we want to do something
|
||||||
|
about it we have to do it in ../g10/sig-check.c .
|
||||||
|
|
||||||
2002-09-17 Werner Koch <wk@gnupg.org>
|
2002-09-17 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
|
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
|
||||||
|
@ -897,21 +897,10 @@ tiger_get_info( int algo, size_t *contextsize,
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_U64_TYPEDEF
|
#ifdef HAVE_U64_TYPEDEF
|
||||||
/* 40: SEQUENCE {
|
static byte asn[19] = /* Object ID is 1.3.6.1.4.1.11591.12.2 */
|
||||||
* 12: SEQUENCE {
|
{ 0x30, 0x29, 0x30, 0x0d, 0x06, 0x09, 0x2b, 0x06,
|
||||||
* 8: OCTET STRING :54 49 47 45 52 31 39 32
|
0x01, 0x04, 0x01, 0xda, 0x47, 0x0c, 0x02,
|
||||||
* 0: NULL
|
0x05, 0x00, 0x04, 0x18 };
|
||||||
* : }
|
|
||||||
* 24: OCTET STRING
|
|
||||||
* : }
|
|
||||||
*
|
|
||||||
* By replacing the 5th byte (0x04) with 0x16 we would have;
|
|
||||||
* 8: IA5String 'TIGER192'
|
|
||||||
* Fixme: We should use a registered OID.
|
|
||||||
*/
|
|
||||||
static byte asn[18] =
|
|
||||||
{ 0x30, 0x28, 0x30, 0x0c, 0x04, 0x08, 0x54, 0x49, 0x47,
|
|
||||||
0x45, 0x52, 0x31, 0x39, 0x32, 0x05, 0x00, 0x04, 0x18 };
|
|
||||||
|
|
||||||
if( algo != 6 )
|
if( algo != 6 )
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user