aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-03-24 10:24:35 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-03-24 10:24:35 +0000
commit1b276f3012c9470d1f7ca0d5d20c3f40de47faf2 (patch)
treece54b71a62e5cdf6e7af5a27366adf70ecfb5b37 /crypto/asn1
parent85b283fff5595096f9138a3ffdc0c5b9ed59a05a (diff)
downloadopenssl-1b276f3012c9470d1f7ca0d5d20c3f40de47faf2.tar.gz
Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h
so they no longer are missing under -DNOPROTO. Submitted by: Soren S. Jorvang <soren@t.dk> Reviewed by: Ralf S. Engelschall
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/asn1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index c21e50b653..d2f81e524f 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -396,6 +396,10 @@ typedef struct asn1_header_st
(ASN1_BMPSTRING *)d2i_ASN1_type_bytes\
((ASN1_STRING **)a,pp,l,B_ASN1_BMPSTRING)
+ /* for the is_set parameter to i2d_ASN1_SET */
+#define IS_SEQUENCE 0
+#define IS_SET 1
+
#ifndef NOPROTO
ASN1_TYPE * ASN1_TYPE_new(void );
void ASN1_TYPE_free(ASN1_TYPE *a);
@@ -475,10 +479,6 @@ int i2d_ASN1_TIME(ASN1_TIME *a,unsigned char **pp);
ASN1_TIME * d2i_ASN1_TIME(ASN1_TIME **a,unsigned char **pp, long length);
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s,time_t t);
-
- /* for the is_set parameter to i2d_ASN1_SET */
-#define IS_SEQUENCE 0
-#define IS_SET 1
int i2d_ASN1_SET(STACK *a, unsigned char **pp,
int (*func)(), int ex_tag, int ex_class, int is_set);
STACK * d2i_ASN1_SET(STACK **a, unsigned char **pp, long length,