mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
Rebuild PKCS#9 encoding after adding new attributes
This commit is contained in:
parent
60c9b5da8d
commit
67ca44ccbd
@ -167,6 +167,9 @@ METHOD(pkcs9_t, add_attribute, void,
|
||||
this->attributes->insert_last(this->attributes,
|
||||
attribute_create(oid, value));
|
||||
chunk_free(&value);
|
||||
|
||||
/* rebuild encoding when adding attributes */
|
||||
chunk_free(&this->encoding);
|
||||
}
|
||||
|
||||
METHOD(pkcs9_t, destroy, void,
|
||||
|
Loading…
x
Reference in New Issue
Block a user