summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/Symbols.list1
-rw-r--r--src/lib/libcrypto/asn1/asn1_locl.h4
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list
index 2b8557b16a..94442cc5e3 100644
--- a/src/lib/libcrypto/Symbols.list
+++ b/src/lib/libcrypto/Symbols.list
@@ -214,6 +214,7 @@ ASN1_template_free
214ASN1_template_i2d 214ASN1_template_i2d
215ASN1_template_new 215ASN1_template_new
216ASN1_time_parse 216ASN1_time_parse
217ASN1_time_tm_clamp_notafter
217ASN1_time_tm_cmp 218ASN1_time_tm_cmp
218ASN1_unpack_string 219ASN1_unpack_string
219AUTHORITY_INFO_ACCESS_free 220AUTHORITY_INFO_ACCESS_free
diff --git a/src/lib/libcrypto/asn1/asn1_locl.h b/src/lib/libcrypto/asn1/asn1_locl.h
index 68f71dfc4a..aa35f7b8fc 100644
--- a/src/lib/libcrypto/asn1/asn1_locl.h
+++ b/src/lib/libcrypto/asn1/asn1_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1_locl.h,v 1.9 2017/08/13 19:47:49 beck Exp $ */ 1/* $OpenBSD: asn1_locl.h,v 1.10 2017/08/27 01:39:26 beck Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -152,6 +152,4 @@ struct x509_crl_method_st {
152int UTF8_getc(const unsigned char *str, int len, unsigned long *val); 152int UTF8_getc(const unsigned char *str, int len, unsigned long *val);
153int UTF8_putc(unsigned char *str, int len, unsigned long value); 153int UTF8_putc(unsigned char *str, int len, unsigned long value);
154 154
155int ASN1_time_tm_clamp_notafter(struct tm *tm);
156
157__END_HIDDEN_DECLS 155__END_HIDDEN_DECLS
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
144static int internal_verify(X509_STORE_CTX *ctx); 144static int internal_verify(X509_STORE_CTX *ctx);
145 145
146int ASN1_time_tm_clamp_notafter(struct tm *tm);
147
146static int 148static int
147null_callback(int ok, X509_STORE_CTX *e) 149null_callback(int ok, X509_STORE_CTX *e)
148{ 150{