diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1.h')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index 220a0c8c63..59540e4e79 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h | |||
| @@ -235,7 +235,7 @@ typedef struct asn1_object_st | |||
| 235 | */ | 235 | */ |
| 236 | #define ASN1_STRING_FLAG_MSTRING 0x040 | 236 | #define ASN1_STRING_FLAG_MSTRING 0x040 |
| 237 | /* This is the base type that holds just about everything :-) */ | 237 | /* This is the base type that holds just about everything :-) */ |
| 238 | struct asn1_string_st | 238 | typedef struct asn1_string_st |
| 239 | { | 239 | { |
| 240 | int length; | 240 | int length; |
| 241 | int type; | 241 | int type; |
| @@ -245,7 +245,7 @@ struct asn1_string_st | |||
| 245 | * input data has a non-zero 'unused bits' value, it will be | 245 | * input data has a non-zero 'unused bits' value, it will be |
| 246 | * handled correctly */ | 246 | * handled correctly */ |
| 247 | long flags; | 247 | long flags; |
| 248 | }; | 248 | } ASN1_STRING; |
| 249 | 249 | ||
| 250 | /* ASN1_ENCODING structure: this is used to save the received | 250 | /* ASN1_ENCODING structure: this is used to save the received |
| 251 | * encoding of an ASN1 type. This is useful to get round | 251 | * encoding of an ASN1 type. This is useful to get round |
| @@ -293,6 +293,7 @@ DECLARE_STACK_OF(ASN1_STRING_TABLE) | |||
| 293 | * see asn1t.h | 293 | * see asn1t.h |
| 294 | */ | 294 | */ |
| 295 | typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE; | 295 | typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE; |
| 296 | typedef struct ASN1_ITEM_st ASN1_ITEM; | ||
| 296 | typedef struct ASN1_TLC_st ASN1_TLC; | 297 | typedef struct ASN1_TLC_st ASN1_TLC; |
| 297 | /* This is just an opaque pointer */ | 298 | /* This is just an opaque pointer */ |
| 298 | typedef struct ASN1_VALUE_st ASN1_VALUE; | 299 | typedef struct ASN1_VALUE_st ASN1_VALUE; |
| @@ -1193,7 +1194,6 @@ void ERR_load_ASN1_strings(void); | |||
| 1193 | #define ASN1_F_ASN1_ITEM_I2D_FP 193 | 1194 | #define ASN1_F_ASN1_ITEM_I2D_FP 193 |
| 1194 | #define ASN1_F_ASN1_ITEM_PACK 198 | 1195 | #define ASN1_F_ASN1_ITEM_PACK 198 |
| 1195 | #define ASN1_F_ASN1_ITEM_SIGN 195 | 1196 | #define ASN1_F_ASN1_ITEM_SIGN 195 |
| 1196 | #define ASN1_F_ASN1_ITEM_SIGN_CTX 220 | ||
| 1197 | #define ASN1_F_ASN1_ITEM_UNPACK 199 | 1197 | #define ASN1_F_ASN1_ITEM_UNPACK 199 |
| 1198 | #define ASN1_F_ASN1_ITEM_VERIFY 197 | 1198 | #define ASN1_F_ASN1_ITEM_VERIFY 197 |
| 1199 | #define ASN1_F_ASN1_MBSTRING_NCOPY 122 | 1199 | #define ASN1_F_ASN1_MBSTRING_NCOPY 122 |
| @@ -1266,7 +1266,6 @@ void ERR_load_ASN1_strings(void); | |||
| 1266 | #define ASN1_F_PKCS5_PBE2_SET_IV 167 | 1266 | #define ASN1_F_PKCS5_PBE2_SET_IV 167 |
| 1267 | #define ASN1_F_PKCS5_PBE_SET 202 | 1267 | #define ASN1_F_PKCS5_PBE_SET 202 |
| 1268 | #define ASN1_F_PKCS5_PBE_SET0_ALGOR 215 | 1268 | #define ASN1_F_PKCS5_PBE_SET0_ALGOR 215 |
| 1269 | #define ASN1_F_PKCS5_PBKDF2_SET 219 | ||
| 1270 | #define ASN1_F_SMIME_READ_ASN1 212 | 1269 | #define ASN1_F_SMIME_READ_ASN1 212 |
| 1271 | #define ASN1_F_SMIME_TEXT 213 | 1270 | #define ASN1_F_SMIME_TEXT 213 |
| 1272 | #define ASN1_F_X509_CINF_NEW 168 | 1271 | #define ASN1_F_X509_CINF_NEW 168 |
| @@ -1292,7 +1291,6 @@ void ERR_load_ASN1_strings(void); | |||
| 1292 | #define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106 | 1291 | #define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106 |
| 1293 | #define ASN1_R_BUFFER_TOO_SMALL 107 | 1292 | #define ASN1_R_BUFFER_TOO_SMALL 107 |
| 1294 | #define ASN1_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 108 | 1293 | #define ASN1_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 108 |
| 1295 | #define ASN1_R_CONTEXT_NOT_INITIALISED 217 | ||
| 1296 | #define ASN1_R_DATA_IS_WRONG 109 | 1294 | #define ASN1_R_DATA_IS_WRONG 109 |
| 1297 | #define ASN1_R_DECODE_ERROR 110 | 1295 | #define ASN1_R_DECODE_ERROR 110 |
| 1298 | #define ASN1_R_DECODING_ERROR 111 | 1296 | #define ASN1_R_DECODING_ERROR 111 |
