From f1607c8a2c04bcb95ddb2e6fc4e0aaec9729929b Mon Sep 17 00:00:00 2001 From: Christopher Triantafilis Date: Thu, 10 Oct 2024 16:14:01 -0400 Subject: [PATCH] Update documentation for SSL_SESSION_set_time_ex() Fixes #24322 CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/25665) --- doc/man3/SSL_SESSION_get_time.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/man3/SSL_SESSION_get_time.pod b/doc/man3/SSL_SESSION_get_time.pod index 38ef35cd34c27..f91fa8445fd17 100644 --- a/doc/man3/SSL_SESSION_get_time.pod +++ b/doc/man3/SSL_SESSION_get_time.pod @@ -66,7 +66,9 @@ of the session. SSL_SESSION_get_time_ex() and SSL_SESSION_get_timeout() return the currently valid values. -SSL_SESSION_set_time_ex() and SSL_SESSION_set_timeout() return 1 on success. +SSL_SESSION_set_time_ex() returns time on success. + +SSL_SESSION_set_timeout() returns 1 on success. If any of the function is passed the NULL pointer for the session B, 0 is returned.