Skip to content

Commit

Permalink
ta: pkcs11: remove redundant comment about start and end date
Browse files Browse the repository at this point in the history
PKCS#11 standard specifies that verification or usage of start and end
date for certificate objects is responsibility of the application.

There is no other activity than storage needed for those.

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
  • Loading branch information
vesajaaskelainen authored and jforissier committed Aug 2, 2023
1 parent df913c6 commit 074c61a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ta/pkcs11/src/pkcs11_attributes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,9 +1351,6 @@ enum pkcs11_rc check_created_attrs_against_token(struct pkcs11_session *session,
return PKCS11_CKR_SESSION_READ_ONLY;
}

/*
* TODO: START_DATE and END_DATE: complies with current time?
*/
return PKCS11_CKR_OK;
}

Expand Down

0 comments on commit 074c61a

Please sign in to comment.