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
This commit is contained in:
parent
85b283fff5
commit
1b276f3012
6
CHANGES
6
CHANGES
@ -3,6 +3,12 @@
|
|||||||
_______________
|
_______________
|
||||||
|
|
||||||
|
|
||||||
|
Changes between 0.9.2b and 0.9.3
|
||||||
|
|
||||||
|
*) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h
|
||||||
|
so they no longer are missing under -DNOPROTO.
|
||||||
|
[Soren S. Jorvang <soren@t.dk>]
|
||||||
|
|
||||||
Changes between 0.9.1c and 0.9.2b
|
Changes between 0.9.1c and 0.9.2b
|
||||||
|
|
||||||
*) Make SSL_get_peer_cert_chain() work in servers. Unfortunately, it still
|
*) Make SSL_get_peer_cert_chain() work in servers. Unfortunately, it still
|
||||||
|
@ -396,6 +396,10 @@ typedef struct asn1_header_st
|
|||||||
(ASN1_BMPSTRING *)d2i_ASN1_type_bytes\
|
(ASN1_BMPSTRING *)d2i_ASN1_type_bytes\
|
||||||
((ASN1_STRING **)a,pp,l,B_ASN1_BMPSTRING)
|
((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
|
#ifndef NOPROTO
|
||||||
ASN1_TYPE * ASN1_TYPE_new(void );
|
ASN1_TYPE * ASN1_TYPE_new(void );
|
||||||
void ASN1_TYPE_free(ASN1_TYPE *a);
|
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 * d2i_ASN1_TIME(ASN1_TIME **a,unsigned char **pp, long length);
|
||||||
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s,time_t t);
|
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 i2d_ASN1_SET(STACK *a, unsigned char **pp,
|
||||||
int (*func)(), int ex_tag, int ex_class, int is_set);
|
int (*func)(), int ex_tag, int ex_class, int is_set);
|
||||||
STACK * d2i_ASN1_SET(STACK **a, unsigned char **pp, long length,
|
STACK * d2i_ASN1_SET(STACK **a, unsigned char **pp, long length,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user