Re: [opensc-commits] svn opensc changed [2380] Increased sizes in rsakey_info struct

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [opensc-commits] svn opensc changed [2380] Increased sizes in rsakey_info struct

Nils Larsch
[hidden email] wrote:

> Revision: 2380
> Author:   sth
> Date:     2005-07-05 15:27:59 +0000 (Tue, 05 Jul 2005)
>
> Log Message:
> -----------
> Increased sizes in rsakey_info struct
>
> Modified Paths:
> --------------
>     trunk/src/tools/pkcs11-tool.c
> Modified: trunk/src/tools/pkcs11-tool.c
> ===================================================================
> --- trunk/src/tools/pkcs11-tool.c 2005-07-05 15:22:59 UTC (rev 2379)
> +++ trunk/src/tools/pkcs11-tool.c 2005-07-05 15:27:59 UTC (rev 2380)
> @@ -159,11 +159,11 @@
>   const char * short_name;
>  };
>  struct x509cert_info {
> - unsigned char subject[128];
> + unsigned char subject[256];
>   int subject_len;
> - unsigned char issuer[128];
> + unsigned char issuer[256];
>   int issuer_len;
> - unsigned char serialnum[128];
> + unsigned char serialnum[256];
>   int serialnum_len;

which ca issues certificates with a 256 byte serial number ?

Nils
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re: [opensc-commits] svn opensc changed [2380] Increased sizes in rsakey_info struct

Stef Hoeben
Nils Larsch wrote:

> [hidden email] wrote:
>
>> Revision: 2380
>> Author:   sth
>> Date:     2005-07-05 15:27:59 +0000 (Tue, 05 Jul 2005)
>>
>> Log Message:
>> -----------
>> Increased sizes in rsakey_info struct
>>
>> Modified Paths:
>> --------------
>>     trunk/src/tools/pkcs11-tool.c
>> Modified: trunk/src/tools/pkcs11-tool.c
>> ===================================================================
>> --- trunk/src/tools/pkcs11-tool.c    2005-07-05 15:22:59 UTC (rev 2379)
>> +++ trunk/src/tools/pkcs11-tool.c    2005-07-05 15:27:59 UTC (rev 2380)
>> @@ -159,11 +159,11 @@
>>      const char *    short_name;
>>  };
>>  struct x509cert_info {
>> -    unsigned char    subject[128];
>> +    unsigned char    subject[256];
>>      int        subject_len;
>> -    unsigned char    issuer[128];
>> +    unsigned char    issuer[256];
>>      int        issuer_len;
>> -    unsigned char    serialnum[128];
>> +    unsigned char    serialnum[256];
>>      int        serialnum_len;
>
>
> which ca issues certificates with a 256 byte serial number ?

Ouch, sorry, should have only increased the subject and issuer size --
will change it back.

Stef

_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel