commit | 93f8500e2ef5ba0d8e8b9d9b27c9f59980299060 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Fri Nov 16 16:43:31 2018 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Fri Nov 16 16:43:31 2018 +0100 |
tree | 34937506ed0883b09b4c306bc5c5c849ebb32309 | |
parent | a1b87e5afe228aed21a5c55d96dade4eee613253 [diff] [blame] |
Fix unused variables warning if MBEDTLS_ECDH_C is off depends-pkalgs.pl passes.
diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 072f626..b0fb5a8 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c
@@ -3967,6 +3967,9 @@ break; #endif /* MBEDTLS_ECDH_C */ default: + (void) private_key; + (void) peer_key; + (void) peer_key_length; return( PSA_ERROR_NOT_SUPPORTED ); } if( status != PSA_SUCCESS )