summaryrefslogtreecommitdiff
path: root/doc/tex/ex-rfc2818.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tex/ex-rfc2818.tex')
-rw-r--r--doc/tex/ex-rfc2818.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tex/ex-rfc2818.tex b/doc/tex/ex-rfc2818.tex
index b32095b288..f0a904a391 100644
--- a/doc/tex/ex-rfc2818.tex
+++ b/doc/tex/ex-rfc2818.tex
@@ -65,7 +65,7 @@ void verify_certificate( gnutls_session session, const char* hostname)
/* Beware here we do not check for errors.
*/
- if ( gnutls_x509_crt_get_expiration( cert) < time(0)) {
+ if ( gnutls_x509_crt_get_expiration_time( cert) < time(0)) {
printf("The certificate has expired\n");
return;
}