File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ CK_RV pkcs11_trust_load_objects(pkcs11_slot_ctx_ptr pSlot)
155155 if (pObject )
156156 {
157157 /* Slot 0 - Device Private Key */
158- pkcs11_config_init_private (pObject , (char * )pkcs11_trust_device_label , strlen (pkcs11_trust_device_label ));
158+ pkcs11_config_init_private (pObject , (char * )pkcs11_trust_device_private_key_label , strlen (pkcs11_trust_device_private_key_label ));
159159 pObject -> slot = 0 ;
160160 pObject -> flags |= PKCS11_OBJECT_FLAG_TRUST_TYPE ;
161161 pObject -> config = & pSlot -> cfg_zone ;
@@ -168,7 +168,7 @@ CK_RV pkcs11_trust_load_objects(pkcs11_slot_ctx_ptr pSlot)
168168 if (pObject )
169169 {
170170 /* Slot 0 - Device Public Key */
171- pkcs11_config_init_public (pObject , (char * )pkcs11_trust_device_label , strlen (pkcs11_trust_device_label ));
171+ pkcs11_config_init_public (pObject , (char * )pkcs11_trust_device_public_key_label , strlen (pkcs11_trust_device_public_key_label ));
172172 pObject -> slot = 0 ;
173173 pObject -> flags |= PKCS11_OBJECT_FLAG_TRUST_TYPE ;
174174 pObject -> config = & pSlot -> cfg_zone ;
You can’t perform that action at this time.
0 commit comments