aboutsummaryrefslogtreecommitdiffstats
path: root/libccnx-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c
diff options
context:
space:
mode:
authorDevel <acompagn+fdio@cisco.com>2018-04-13 13:28:31 +0200
committerDevel <acompagn+fdio@cisco.com>2018-04-13 13:28:51 +0200
commit9439750179b4541c91c7d9ad1b6179baada8f141 (patch)
tree5f1f4a668648a873e9e3e55defc93982a9812217 /libccnx-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c
parented721c097187deece705ae663c6bffb1fc107c6d (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-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c')
-rwxr-xr-xlibccnx-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libccnx-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c b/libccnx-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c
index 736e6982..1368717d 100755
--- a/libccnx-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c
+++ b/libccnx-portal/ccnx/api/ccnx_Portal/test/test_ccnx_PortalAPI.c
@@ -68,13 +68,13 @@ LONGBOW_TEST_FIXTURE_SETUP(Global)
parcSecurity_Init();
- bool success = parcPkcs12KeyStore_CreateFile("my_keystore", "my_keystore_password", subjectName, keyLength, validityDays);
+ bool success = parcPkcs12KeyStore_CreateFile("my_keystore", "my_keystore_password", subjectName, PARCSigningAlgorithm_RSA, keyLength, validityDays);
assertTrue(success, "parcPkcs12KeyStore_CreateFile('my_keystore', 'my_keystore_password') failed.");
PARCIdentityFile *identityFile = parcIdentityFile_Create("my_keystore", "my_keystore_password");
PARCIdentity *identity = parcIdentity_Create(identityFile, PARCIdentityFileAsPARCIdentity);
- CCNxPortalFactory *factory = ccnxPortalFactory_Create(identity);
+ CCNxPortalFactory *factory = ccnxPortalFactory_Create(identity, PARCCryptoSuite_RSA_SHA256);
parcIdentityFile_Release(&identityFile);
parcIdentity_Release(&identity);