With OpenSSL 4.0.0 function X509_cmp_current_time() is deprecated and should be replaced by X509_check_certificate_times(). Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>