added private flag to asn1_init

This commit is contained in:
Andreas Steffen 2006-10-25 08:31:15 +00:00
parent e4738363c1
commit d489707eab
2 changed files with 2 additions and 2 deletions

View File

@ -687,7 +687,7 @@ rsa_private_key_t *rsa_private_key_create_from_chunk(chunk_t blob)
mpz_init(this->exp2);
mpz_init(this->coeff);
asn1_init(&ctx, blob, 0, FALSE);
asn1_init(&ctx, blob, 0, FALSE, TRUE);
while (objectID < PRIV_KEY_ROOF)
{

View File

@ -443,7 +443,7 @@ rsa_public_key_t *rsa_public_key_create_from_chunk(chunk_t blob)
mpz_init(this->n);
mpz_init(this->e);
asn1_init(&ctx, blob, 0, FALSE);
asn1_init(&ctx, blob, 0, FALSE, FALSE);
while (objectID < PUB_KEY_ROOF)
{