implement basic listing of attribute certificates

This commit is contained in:
Andreas Steffen
2008-05-22 21:58:22 +00:00
parent be1585c587
commit 7199d22e77
3 changed files with 85 additions and 17 deletions
+3 -8
View File
@@ -990,13 +990,8 @@ static private_x509_ac_t* build(private_builder_t *this)
free(this);
if (ac == NULL)
{
return NULL;
}
/* synthesis if TRUE or analysis if FALSE */
if (ac->encoding.ptr == NULL)
/* synthesis if encoding does not exist */
if (ac && ac->encoding.ptr == NULL)
{
if (ac->holderCert && ac->signerCert && ac->signerKey)
{
@@ -1008,7 +1003,7 @@ static private_x509_ac_t* build(private_builder_t *this)
}
else
{
return NULL;
return ac;
}
}