diff options
author | Devel <acompagn+fdio@cisco.com> | 2018-04-16 16:52:31 +0200 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2018-04-16 15:23:49 +0000 |
commit | 799484812a3fdd9d5d6e71c5fc4b483043347bca (patch) | |
tree | 40993aeb725715bbb97bc353351e718639ba0d53 /libparc/parc/security/parc_Signer.c | |
parent | e4fcd260cb99434033a8ccfba12eee12dab190b9 (diff) |
Added method to retrieve the signature length from the signer. Fixed bug on parc-publickey
Change-Id: If188601e83d0cebf42d2e868e1dce430eabfa1f2
Signed-off-by: Devel <acompagn+fdio@cisco.com>
Diffstat (limited to 'libparc/parc/security/parc_Signer.c')
-rw-r--r-- | libparc/parc/security/parc_Signer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libparc/parc/security/parc_Signer.c b/libparc/parc/security/parc_Signer.c index ec5b8a19..5287c97b 100644 --- a/libparc/parc/security/parc_Signer.c +++ b/libparc/parc/security/parc_Signer.c @@ -168,3 +168,11 @@ parcSigner_GetKeyStore(const PARCSigner *signer) return signer->interface->GetKeyStore(signer->instance); } + +size_t +parcSigner_GetSignatureSize(const PARCSigner *signer) +{ + parcSigner_OptionalAssertValid(signer); + + return signer->interface->GetSignatureSize(signer->instance); +} |