diff options
author | 2018-04-13 13:28:31 +0200 | |
---|---|---|
committer | 2018-04-13 13:28:51 +0200 | |
commit | 9439750179b4541c91c7d9ad1b6179baada8f141 (patch) | |
tree | 5f1f4a668648a873e9e3e55defc93982a9812217 /libccnx-common/ccnx/common/codec/test | |
parent | ed721c097187deece705ae663c6bffb1fc107c6d (diff) |
Updated library according to the latest changes about security in libparc
Change-Id: I04e53c986f6cb17679edc60e24c8c7c42fc9aad3
Signed-off-by: Devel <acompagn+fdio@cisco.com>
Diffstat (limited to 'libccnx-common/ccnx/common/codec/test')
-rwxr-xr-x | libccnx-common/ccnx/common/codec/test/test_ccnxCodec_NetworkBuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libccnx-common/ccnx/common/codec/test/test_ccnxCodec_NetworkBuffer.c b/libccnx-common/ccnx/common/codec/test/test_ccnxCodec_NetworkBuffer.c index aec3018e..0b6fd116 100755 --- a/libccnx-common/ccnx/common/codec/test/test_ccnxCodec_NetworkBuffer.c +++ b/libccnx-common/ccnx/common/codec/test/test_ccnxCodec_NetworkBuffer.c @@ -178,7 +178,7 @@ LONGBOW_TEST_CASE(Global, ccnxCodecNetworkBuffer_ComputeSignature) PARCPkcs12KeyStore *publicKeyStore = parcPkcs12KeyStore_Open("test_rsa.p12", "blueberry", PARCCryptoHashType_SHA256); PARCKeyStore *keyStore = parcKeyStore_Create(publicKeyStore, PARCPkcs12KeyStoreAsKeyStore); parcPkcs12KeyStore_Release(&publicKeyStore); - PARCPublicKeySigner *publicKeySigner = parcPublicKeySigner_Create(keyStore, PARCSigningAlgorithm_RSA, PARCCryptoHashType_SHA256); + PARCPublicKeySigner *publicKeySigner = parcPublicKeySigner_Create(keyStore, PARCCryptoSuite_RSA_SHA256); PARCSigner *signer = parcSigner_Create(publicKeySigner, PARCPublicKeySignerAsSigner); parcPublicKeySigner_Release(&publicKeySigner); |