From 9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 1 Nov 2021 08:14:36 +0000 Subject: Unifdef LIBRESSL_NEW_API. Now that the library is bumped, this is no longer needed. ok jsing --- src/lib/libcrypto/asn1/asn1.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/asn1') diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index 43b038adaa..815256a30d 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.55 2021/10/27 09:50:57 beck Exp $ */ +/* $OpenBSD: asn1.h,v 1.56 2021/11/01 08:14:36 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -773,10 +773,8 @@ ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len); int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); extern const ASN1_ITEM ASN1_TIME_it; -#if defined(LIBRESSL_NEW_API) int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, const ASN1_TIME *to); -#endif extern const ASN1_ITEM ASN1_OCTET_STRING_NDEF_it; -- cgit v1.2.3-55-g6feb