diff options
author | beck <> | 2017-08-27 01:39:26 +0000 |
---|---|---|
committer | beck <> | 2017-08-27 01:39:26 +0000 |
commit | ec59f338ce2a8842a8478c243e444aefb1459dfa (patch) | |
tree | d1b38b4c95049fecffbe49d28ff755942f4edad7 /src/lib/libcrypto/x509/x509_vfy.c | |
parent | 4d875aa977b8bbe9969527101d0f2d7d67a77b0b (diff) | |
download | openbsd-ec59f338ce2a8842a8478c243e444aefb1459dfa.tar.gz openbsd-ec59f338ce2a8842a8478c243e444aefb1459dfa.tar.bz2 openbsd-ec59f338ce2a8842a8478c243e444aefb1459dfa.zip |
Make the symbol for ASN1_time_tm_clamp_notafter visible so libtls
can get at it, so libtls can also deal with notafter's past the
realm of 32 bit time in portable
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 23ecf63d60..8efff680c1 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.c,v 1.65 2017/08/13 19:47:49 beck Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.66 2017/08/27 01:39:26 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -143,6 +143,8 @@ static int X509_cmp_time_internal(const ASN1_TIME *ctm, time_t *cmp_time, | |||
143 | 143 | ||
144 | static int internal_verify(X509_STORE_CTX *ctx); | 144 | static int internal_verify(X509_STORE_CTX *ctx); |
145 | 145 | ||
146 | int ASN1_time_tm_clamp_notafter(struct tm *tm); | ||
147 | |||
146 | static int | 148 | static int |
147 | null_callback(int ok, X509_STORE_CTX *e) | 149 | null_callback(int ok, X509_STORE_CTX *e) |
148 | { | 150 | { |