summaryrefslogtreecommitdiff
path: root/src/pkcs11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkcs11.c')
-rw-r--r--src/pkcs11.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pkcs11.c b/src/pkcs11.c
index 66ef6b0fe0..fe865f3f71 100644
--- a/src/pkcs11.c
+++ b/src/pkcs11.c
@@ -314,10 +314,7 @@ pkcs11_list(FILE * outfile, const char *url, int type, unsigned int flags,
}
if (otype == GNUTLS_PKCS11_OBJ_X509_CRT && exp != -1) {
- if (exp == GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION)
- fprintf(outfile, "\tExpires: Never\n");
- else
- fprintf(outfile, "\tExpires: %s", ctime(&exp));
+ fprintf(outfile, "\tExpires: %s", ctime(&exp));
}
gnutls_free(output);