implement basic listing of attribute certificates
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user