summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/x509/x509_vfy.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2017-08-27 01:39:26 +0000
committerbeck <beck@openbsd.org>2017-08-27 01:39:26 +0000
commit9fdb873ddceaf45b13025652f4a88c921aa20c75 (patch)
tree592b00d4e0c34889da49bef8efc481ae4b5e36d0 /lib/libcrypto/x509/x509_vfy.c
parentIncrease the buffer sizes for user prompts to ensure that they won't be (diff)
downloadwireguard-openbsd-9fdb873ddceaf45b13025652f4a88c921aa20c75.tar.xz
wireguard-openbsd-9fdb873ddceaf45b13025652f4a88c921aa20c75.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 'lib/libcrypto/x509/x509_vfy.c')
-rw-r--r--lib/libcrypto/x509/x509_vfy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509_vfy.c b/lib/libcrypto/x509/x509_vfy.c
index 23ecf63d607..8efff680c10 100644
--- a/lib/libcrypto/x509/x509_vfy.c
+++ b/lib/libcrypto/x509/x509_vfy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_vfy.c,v 1.65 2017/08/13 19:47:49 beck Exp $ */
+/* $OpenBSD: x509_vfy.c,v 1.66 2017/08/27 01:39:26 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -143,6 +143,8 @@ static int X509_cmp_time_internal(const ASN1_TIME *ctm, time_t *cmp_time,
static int internal_verify(X509_STORE_CTX *ctx);
+int ASN1_time_tm_clamp_notafter(struct tm *tm);
+
static int
null_callback(int ok, X509_STORE_CTX *e)
{