diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2016-07-05 03:24:39 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2016-07-05 03:24:39 +0000 |
commit | ec6c554d10c313c5eaf679d71da10aa8e352d057 (patch) | |
tree | e1700c520532e27ce403ab1fa114265ed1d93ba9 /lib | |
parent | a74be836a6a0e7db27e9a9e767a747a879e33429 (diff) |
remove unneeded duplicate call - spotted by jsing@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/ocsp/ocsp_cl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/ocsp/ocsp_cl.c b/lib/libcrypto/ocsp/ocsp_cl.c index 83615e5434f..5616ae1bb5d 100644 --- a/lib/libcrypto/ocsp/ocsp_cl.c +++ b/lib/libcrypto/ocsp/ocsp_cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocsp_cl.c,v 1.9 2016/06/25 15:38:44 beck Exp $ */ +/* $OpenBSD: ocsp_cl.c,v 1.10 2016/07/05 03:24:38 beck Exp $ */ /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL * project. */ @@ -366,8 +366,6 @@ OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, t_tmp = t_now - maxsec; if (gmtime_r(&t_tmp, &tm_tmp) == NULL) return 0; - if (gmtime_r(&t_tmp, &tm_tmp) == NULL) - return 0; if (asn1_tm_cmp(&tm_this, &tm_tmp) < 0) { OCSPerr(OCSP_F_OCSP_CHECK_VALIDITY, OCSP_R_STATUS_TOO_OLD); |