Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into multiradio
Browse files Browse the repository at this point in the history
  • Loading branch information
saauvine committed Oct 20, 2023
2 parents 8f75053 + 88dbdb3 commit d236204
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def do_provisioning(self):
client_certificate = self.__hsm_ctrl.get_certificate(self.__auth_key_id, self.__auth_key_label)
server_certificate = self.__hsm_ctrl.get_certificate(self.__auth_key_id, self.__server_cert_label)

if datetime.now() < self.__reference_date:
if datetime.now() < self.__reference_date and client_certificate is not None:
# Use client certificate to set system time
self.__update_system_time(client_certificate.validity_start)

Expand Down

0 comments on commit d236204

Please sign in to comment.