summaryrefslogtreecommitdiff
path: root/lib/x509
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-11-30 10:28:28 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-11-30 10:28:30 +0100
commit6b340c28f020edde61c16700048540d6eb2e8c17 (patch)
tree642e57787ee24124ecb35f2c0698dad8405d86ec /lib/x509
parent51be76ac45bebd34ccf00f0c7b8c694ca5b2264d (diff)
downloadgnutls-6b340c28f020edde61c16700048540d6eb2e8c17.tar.gz
gnutls_x509_crt_set_expiration_time: fixed documentation [ci skip]
Fixed the documentation of the function to reflect reality. This function did not accept the GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION macro. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509')
-rw-r--r--lib/x509/x509_write.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/x509/x509_write.c b/lib/x509/x509_write.c
index db90dab9c4..8325ad0c73 100644
--- a/lib/x509/x509_write.c
+++ b/lib/x509/x509_write.c
@@ -1188,7 +1188,7 @@ gnutls_x509_crt_sign(gnutls_x509_crt_t crt, gnutls_x509_crt_t issuer,
* @cert: a certificate of type #gnutls_x509_crt_t
* @act_time: The actual time
*
- * This function will set the time this Certificate was or will be
+ * This function will set the time this certificate was or will be
* activated.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
@@ -1216,8 +1216,8 @@ gnutls_x509_crt_set_activation_time(gnutls_x509_crt_t cert,
* @exp_time: The actual time
*
* This function will set the time this Certificate will expire.
- * Setting an expiration time to (time_t)-1 or to %GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION
- * will set to the no well-defined expiration date value.
+ * Setting an expiration time to (time_t)-1 will set
+ * to the no well-defined expiration date value.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.