aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibparc/parc/security/parc_CryptoSuite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libparc/parc/security/parc_CryptoSuite.c b/libparc/parc/security/parc_CryptoSuite.c
index 9925c4e6..43339121 100755
--- a/libparc/parc/security/parc_CryptoSuite.c
+++ b/libparc/parc/security/parc_CryptoSuite.c
@@ -73,11 +73,11 @@ PARCCryptoSuite parcCryptoSuite_GetFromSigningHash(PARCSigningAlgorithm signAlgo
switch (signAlgo) {
case PARCSigningAlgorithm_DSA:
- return PARCCryptoSuite_DSA_SHA256 + hash -1;
+ return PARCCryptoSuite_DSA_SHA256 + hash;
case PARCSigningAlgorithm_RSA:
- return PARCCryptoSuite_RSA_SHA256 + hash -1;
+ return PARCCryptoSuite_RSA_SHA256 + hash;
case PARCSigningAlgorithm_ECDSA:
- return PARCCryptoSuite_ECDSA_SHA256 + hash -1;
+ return PARCCryptoSuite_ECDSA_SHA256 + hash;
case PARCSigningAlgorithm_NULL:
return PARCCryptoSuite_NULL_CRC32C;
default: