summaryrefslogtreecommitdiff
path: root/trust/tests
diff options
context:
space:
mode:
Diffstat (limited to 'trust/tests')
-rw-r--r--trust/tests/test-builder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/trust/tests/test-builder.c b/trust/tests/test-builder.c
index 723a251..5ce3b22 100644
--- a/trust/tests/test-builder.c
+++ b/trust/tests/test-builder.c
@@ -1150,7 +1150,7 @@ test_changed_trusted_certificate (CuTest *cu)
{ CKA_CLASS, &trust_assertion, sizeof (trust_assertion) },
{ CKA_X_PURPOSE, (void *)P11_OID_SERVER_AUTH_STR, sizeof (P11_OID_SERVER_AUTH_STR) - 1 },
{ CKA_LABEL, "Custom Label", 12 },
- { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
+ { CKA_X_CERTIFICATE_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
{ CKA_X_ASSERTION_TYPE, &anchored_certificate, sizeof (anchored_certificate) },
{ CKA_ID, "cacert3", 7 },
{ CKA_INVALID },
@@ -1160,7 +1160,7 @@ test_changed_trusted_certificate (CuTest *cu)
{ CKA_CLASS, &trust_assertion, sizeof (trust_assertion) },
{ CKA_X_PURPOSE, (void *)P11_OID_CLIENT_AUTH_STR, sizeof (P11_OID_CLIENT_AUTH_STR) - 1 },
{ CKA_LABEL, "Custom Label", 12 },
- { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
+ { CKA_X_CERTIFICATE_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
{ CKA_X_ASSERTION_TYPE, &anchored_certificate, sizeof (anchored_certificate) },
{ CKA_ID, "cacert3", 7 },
{ CKA_INVALID },
@@ -1466,7 +1466,7 @@ test_changed_dup_certificates (CuTest *cu)
static CK_ATTRIBUTE anchor_assertion[] = {
{ CKA_CLASS, &trust_assertion, sizeof (trust_assertion) },
{ CKA_X_PURPOSE, (void *)P11_OID_SERVER_AUTH_STR, sizeof (P11_OID_SERVER_AUTH_STR) - 1 },
- { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
+ { CKA_X_CERTIFICATE_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
{ CKA_X_ASSERTION_TYPE, &anchored_certificate, sizeof (anchored_certificate) },
{ CKA_ID, "cacert3", 7 },
{ CKA_INVALID },