diff options
author | jsing <> | 2016-12-27 15:12:51 +0000 |
---|---|---|
committer | jsing <> | 2016-12-27 15:12:51 +0000 |
commit | 82d93abfbbf36eec07591f83d006e5504abdfdb8 (patch) | |
tree | 9035acf3b38b551e8eff5145caceba270b116b85 | |
parent | a5f5761f2a79ea087e011adf2670316cebc281da (diff) | |
download | openbsd-82d93abfbbf36eec07591f83d006e5504abdfdb8.tar.gz openbsd-82d93abfbbf36eec07591f83d006e5504abdfdb8.tar.bz2 openbsd-82d93abfbbf36eec07591f83d006e5504abdfdb8.zip |
Expand DECLARE_ASN1_ITEM macros - no change in preprocessor output.
-rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 6 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/asn1t.h | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index d744b64665..09ba64528f 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1.h,v 1.36 2016/12/27 09:12:19 jsing Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.37 2016/12/27 15:12:51 jsing 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 | * |
@@ -759,7 +759,7 @@ ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, | |||
759 | ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, | 759 | ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, |
760 | long length); | 760 | long length); |
761 | 761 | ||
762 | DECLARE_ASN1_ITEM(ASN1_OBJECT) | 762 | extern const ASN1_ITEM ASN1_OBJECT_it; |
763 | 763 | ||
764 | DECLARE_STACK_OF(ASN1_OBJECT) | 764 | DECLARE_STACK_OF(ASN1_OBJECT) |
765 | DECLARE_ASN1_SET_OF(ASN1_OBJECT) | 765 | DECLARE_ASN1_SET_OF(ASN1_OBJECT) |
@@ -915,7 +915,7 @@ ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len); | |||
915 | int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); | 915 | int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); |
916 | extern const ASN1_ITEM ASN1_TIME_it; | 916 | extern const ASN1_ITEM ASN1_TIME_it; |
917 | 917 | ||
918 | DECLARE_ASN1_ITEM(ASN1_OCTET_STRING_NDEF) | 918 | extern const ASN1_ITEM ASN1_OCTET_STRING_NDEF_it; |
919 | 919 | ||
920 | ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t); | 920 | ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t); |
921 | ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day, | 921 | ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day, |
diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn1/asn1t.h index 27f591c464..ba380bdf41 100644 --- a/src/lib/libcrypto/asn1/asn1t.h +++ b/src/lib/libcrypto/asn1/asn1t.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1t.h,v 1.13 2015/07/25 17:20:02 jsing Exp $ */ | 1 | /* $OpenBSD: asn1t.h,v 1.14 2016/12/27 15:12:51 jsing 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 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -831,14 +831,14 @@ typedef struct ASN1_STREAM_ARG_st { | |||
831 | 831 | ||
832 | /* external definitions for primitive types */ | 832 | /* external definitions for primitive types */ |
833 | 833 | ||
834 | DECLARE_ASN1_ITEM(ASN1_BOOLEAN) | 834 | extern const ASN1_ITEM ASN1_BOOLEAN_it; |
835 | DECLARE_ASN1_ITEM(ASN1_TBOOLEAN) | 835 | extern const ASN1_ITEM ASN1_TBOOLEAN_it; |
836 | DECLARE_ASN1_ITEM(ASN1_FBOOLEAN) | 836 | extern const ASN1_ITEM ASN1_FBOOLEAN_it; |
837 | DECLARE_ASN1_ITEM(ASN1_SEQUENCE) | 837 | extern const ASN1_ITEM ASN1_SEQUENCE_it; |
838 | DECLARE_ASN1_ITEM(CBIGNUM) | 838 | extern const ASN1_ITEM CBIGNUM_it; |
839 | DECLARE_ASN1_ITEM(BIGNUM) | 839 | extern const ASN1_ITEM BIGNUM_it; |
840 | DECLARE_ASN1_ITEM(LONG) | 840 | extern const ASN1_ITEM LONG_it; |
841 | DECLARE_ASN1_ITEM(ZLONG) | 841 | extern const ASN1_ITEM ZLONG_it; |
842 | 842 | ||
843 | DECLARE_STACK_OF(ASN1_VALUE) | 843 | DECLARE_STACK_OF(ASN1_VALUE) |
844 | 844 | ||