diff options
author | Angelo Mantellini <angelo.mantellini@irt-systemx.fr> | 2019-01-17 10:57:04 +0100 |
---|---|---|
committer | Angelo Mantellini <angelo.mantellini@irt-systemx.fr> | 2019-01-17 10:57:04 +0100 |
commit | 82317aed7d4b6acd4fb65441a106f9de4d9c8926 (patch) | |
tree | 838978d06dd65371365316b1005f08404beac25c /libparc/parc/security/parc_PublicKeySigner.c | |
parent | 33b53c7f5cef4cf19770a38baa4b627f234322cf (diff) |
add clang directives to avoid warnings
Change-Id: I1ed298176ad1403ed089177a3cce4264f028bbbd
Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'libparc/parc/security/parc_PublicKeySigner.c')
-rw-r--r-- | libparc/parc/security/parc_PublicKeySigner.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libparc/parc/security/parc_PublicKeySigner.c b/libparc/parc/security/parc_PublicKeySigner.c index 0a029cae..1297611e 100644 --- a/libparc/parc/security/parc_PublicKeySigner.c +++ b/libparc/parc/security/parc_PublicKeySigner.c @@ -213,7 +213,7 @@ static inline int _SignDigestECDSA(const PARCCryptoHash *digestToSign, PARCBuffe ec_key); parcAssertTrue(result == 1, "Got error from ECDSA_sign: %d", result); EC_KEY_free(ec_key); - + return result; } static PARCSignature * @@ -307,6 +307,8 @@ _GetSignatureSize(PARCPublicKeySigner *signer) EVP_PKEY_free(privateKey); break; } + default: + break; } parcBuffer_Release(&privateKeyBuffer); |