projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove /* foo.c */ comments
[openssl.git]
/
include
/
openssl
/
asn1t.h
diff --git
a/include/openssl/asn1t.h
b/include/openssl/asn1t.h
index 6467e4a6455d934a4d0c4adcb9c3b0d960cdb7ba..46fd086e24ea0f26e3b0b8c83516906953079674 100644
(file)
--- a/
include/openssl/asn1t.h
+++ b/
include/openssl/asn1t.h
@@
-1,4
+1,3
@@
-/* asn1t.h */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2000.
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2000.
@@
-102,6
+101,9
@@
extern "C" {
{ \
static const ASN1_ITEM local_it = {
{ \
static const ASN1_ITEM local_it = {
+# define static_ASN1_ITEM_start(itname) \
+ static ASN1_ITEM_start(itname)
+
# define ASN1_ITEM_end(itname) \
}; \
return &local_it; \
# define ASN1_ITEM_end(itname) \
}; \
return &local_it; \
@@
-387,6
+389,8
@@
extern "C" {
# endif
/* Plain simple type */
# define ASN1_SIMPLE(stname, field, type) ASN1_EX_TYPE(0,0, stname, field, type)
# endif
/* Plain simple type */
# define ASN1_SIMPLE(stname, field, type) ASN1_EX_TYPE(0,0, stname, field, type)
+/* Embedded simple type */
+# define ASN1_EMBED(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_EMBED,0, stname, field, type)
/* OPTIONAL simple type */
# define ASN1_OPT(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_OPTIONAL, 0, stname, field, type)
/* OPTIONAL simple type */
# define ASN1_OPT(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_OPTIONAL, 0, stname, field, type)
@@
-613,6
+617,9
@@
struct ASN1_ADB_TABLE_st {
# define ASN1_TFLG_NDEF (0x1<<11)
# define ASN1_TFLG_NDEF (0x1<<11)
+/* Field is embedded and not a pointer */
+# define ASN1_TFLG_EMBED (0x1 << 12)
+
/* This is the actual ASN1 item itself */
struct ASN1_ITEM_st {
/* This is the actual ASN1 item itself */
struct ASN1_ITEM_st {
@@
-956,7
+963,7
@@
DECLARE_ASN1_ITEM(BIGNUM)
DECLARE_ASN1_ITEM(LONG)
DECLARE_ASN1_ITEM(ZLONG)
DECLARE_ASN1_ITEM(LONG)
DECLARE_ASN1_ITEM(ZLONG)
-DE
CLAR
E_STACK_OF(ASN1_VALUE)
+DE
FIN
E_STACK_OF(ASN1_VALUE)
/* Functions used internally by the ASN1 code */
/* Functions used internally by the ASN1 code */