diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/a_time_tm.c')
-rw-r--r-- | src/lib/libcrypto/asn1/a_time_tm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/a_time_tm.c b/src/lib/libcrypto/asn1/a_time_tm.c index fcd3acf9c8..b2f65045b5 100644 --- a/src/lib/libcrypto/asn1/a_time_tm.c +++ b/src/lib/libcrypto/asn1/a_time_tm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_time_tm.c,v 1.10 2016/11/04 18:07:23 beck Exp $ */ | 1 | /* $OpenBSD: a_time_tm.c,v 1.11 2017/01/29 17:49:22 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -267,8 +267,7 @@ ASN1_TIME_adj_internal(ASN1_TIME *s, time_t t, int offset_day, long offset_sec, | |||
267 | return (NULL); | 267 | return (NULL); |
268 | } | 268 | } |
269 | if (p == NULL) { | 269 | if (p == NULL) { |
270 | ASN1err(ASN1_F_ASN1_GENERALIZEDTIME_ADJ, | 270 | ASN1error(ASN1_R_ILLEGAL_TIME_VALUE); |
271 | ASN1_R_ILLEGAL_TIME_VALUE); | ||
272 | return (NULL); | 271 | return (NULL); |
273 | } | 272 | } |
274 | 273 | ||