diff options
author | 2015-09-30 04:10:07 +0000 | |
---|---|---|
committer | 2015-09-30 04:10:07 +0000 | |
commit | 5c31c8d8c983757e3141459fb9020ae146d0792d (patch) | |
tree | 412c80f9b11fcc5e26387f4cf644f0c5a6d2b74d /lib/libssl/src | |
parent | Remove some annoying trailing whitespace. (diff) | |
download | wireguard-openbsd-5c31c8d8c983757e3141459fb9020ae146d0792d.tar.xz wireguard-openbsd-5c31c8d8c983757e3141459fb9020ae146d0792d.zip |
Remove support for NO_ASN1_TYPEDEFS.
This ifdef was introduced 15 years ago and was known to cause problems
with STACK_OF() back then.
ok jsing@, beck@, jca@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/ossl_typ.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/libssl/src/crypto/ossl_typ.h b/lib/libssl/src/crypto/ossl_typ.h index 2a3f5b740de..234fdca1ea8 100644 --- a/lib/libssl/src/crypto/ossl_typ.h +++ b/lib/libssl/src/crypto/ossl_typ.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ossl_typ.h,v 1.12 2014/06/12 15:49:27 deraadt Exp $ */ +/* $OpenBSD: ossl_typ.h,v 1.13 2015/09/30 04:10:07 doug Exp $ */ /* ==================================================================== * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. * @@ -58,25 +58,6 @@ #include <openssl/opensslconf.h> -#ifdef NO_ASN1_TYPEDEFS -#define ASN1_INTEGER ASN1_STRING -#define ASN1_ENUMERATED ASN1_STRING -#define ASN1_BIT_STRING ASN1_STRING -#define ASN1_OCTET_STRING ASN1_STRING -#define ASN1_PRINTABLESTRING ASN1_STRING -#define ASN1_T61STRING ASN1_STRING -#define ASN1_IA5STRING ASN1_STRING -#define ASN1_UTCTIME ASN1_STRING -#define ASN1_GENERALIZEDTIME ASN1_STRING -#define ASN1_TIME ASN1_STRING -#define ASN1_GENERALSTRING ASN1_STRING -#define ASN1_UNIVERSALSTRING ASN1_STRING -#define ASN1_BMPSTRING ASN1_STRING -#define ASN1_VISIBLESTRING ASN1_STRING -#define ASN1_UTF8STRING ASN1_STRING -#define ASN1_BOOLEAN int -#define ASN1_NULL int -#else typedef struct asn1_string_st ASN1_INTEGER; typedef struct asn1_string_st ASN1_ENUMERATED; typedef struct asn1_string_st ASN1_BIT_STRING; @@ -95,7 +76,6 @@ typedef struct asn1_string_st ASN1_UTF8STRING; typedef struct asn1_string_st ASN1_STRING; typedef int ASN1_BOOLEAN; typedef int ASN1_NULL; -#endif typedef struct ASN1_ITEM_st ASN1_ITEM; typedef struct asn1_pctx_st ASN1_PCTX; |