~ubuntu-branches/ubuntu/lucid/openssl/lucid-proposed

« back to all changes in this revision

Viewing changes to crypto/asn1/asn1_err.c

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Valcárcel Scerpella (Canonical)
  • Date: 2009-12-06 20:16:24 UTC
  • mfrom: (11.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091206201624-u126qjpqm2n2uuhu
Tags: 0.9.8k-7ubuntu1
* Merge from debian unstable, remaining changes (LP: #493392):
  - Link using -Bsymbolic-functions
  - Add support for lpia
  - Disable SSLv2 during compile
  - Ship documentation in openssl-doc, suggested by the package.
  - Use a different priority for libssl0.9.8/restart-services
    depending on whether a desktop, or server dist-upgrade is being
    performed.
  - Display a system restart required notification bubble on libssl0.9.8
    upgrade.
  - Replace duplicate files in the doc directory with symlinks.
  - Move runtime libraries to /lib, for the benefit of wpasupplicant
* Strip the patches out of the source into quilt patches
* Disable CVE-2009-3555.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* crypto/asn1/asn1_err.c */
2
2
/* ====================================================================
3
 
 * Copyright (c) 1999-2005 The OpenSSL Project.  All rights reserved.
 
3
 * Copyright (c) 1999-2008 The OpenSSL Project.  All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
6
6
 * modification, are permitted provided that the following conditions
110
110
{ERR_FUNC(ASN1_F_ASN1_ITEM_VERIFY),     "ASN1_item_verify"},
111
111
{ERR_FUNC(ASN1_F_ASN1_MBSTRING_NCOPY),  "ASN1_mbstring_ncopy"},
112
112
{ERR_FUNC(ASN1_F_ASN1_OBJECT_NEW),      "ASN1_OBJECT_new"},
 
113
{ERR_FUNC(ASN1_F_ASN1_OUTPUT_DATA),     "ASN1_OUTPUT_DATA"},
113
114
{ERR_FUNC(ASN1_F_ASN1_PACK_STRING),     "ASN1_pack_string"},
114
115
{ERR_FUNC(ASN1_F_ASN1_PCTX_NEW),        "ASN1_PCTX_NEW"},
115
116
{ERR_FUNC(ASN1_F_ASN1_PKCS5_PBE_SET),   "ASN1_PKCS5_PBE_SET"},
129
130
{ERR_FUNC(ASN1_F_ASN1_UNPACK_STRING),   "ASN1_unpack_string"},
130
131
{ERR_FUNC(ASN1_F_ASN1_UTCTIME_SET),     "ASN1_UTCTIME_set"},
131
132
{ERR_FUNC(ASN1_F_ASN1_VERIFY),  "ASN1_verify"},
 
133
{ERR_FUNC(ASN1_F_B64_READ_ASN1),        "B64_READ_ASN1"},
 
134
{ERR_FUNC(ASN1_F_B64_WRITE_ASN1),       "B64_WRITE_ASN1"},
132
135
{ERR_FUNC(ASN1_F_BITSTR_CB),    "BITSTR_CB"},
133
136
{ERR_FUNC(ASN1_F_BN_TO_ASN1_ENUMERATED),        "BN_to_ASN1_ENUMERATED"},
134
137
{ERR_FUNC(ASN1_F_BN_TO_ASN1_INTEGER),   "BN_to_ASN1_INTEGER"},
169
172
{ERR_FUNC(ASN1_F_PARSE_TAGGING),        "PARSE_TAGGING"},
170
173
{ERR_FUNC(ASN1_F_PKCS5_PBE2_SET),       "PKCS5_pbe2_set"},
171
174
{ERR_FUNC(ASN1_F_PKCS5_PBE_SET),        "PKCS5_pbe_set"},
 
175
{ERR_FUNC(ASN1_F_SMIME_READ_ASN1),      "SMIME_read_ASN1"},
 
176
{ERR_FUNC(ASN1_F_SMIME_TEXT),   "SMIME_text"},
172
177
{ERR_FUNC(ASN1_F_X509_CINF_NEW),        "X509_CINF_NEW"},
173
178
{ERR_FUNC(ASN1_F_X509_CRL_ADD0_REVOKED),        "X509_CRL_add0_revoked"},
174
179
{ERR_FUNC(ASN1_F_X509_INFO_NEW),        "X509_INFO_new"},
183
188
static ERR_STRING_DATA ASN1_str_reasons[]=
184
189
        {
185
190
{ERR_REASON(ASN1_R_ADDING_OBJECT)        ,"adding object"},
 
191
{ERR_REASON(ASN1_R_ASN1_PARSE_ERROR)     ,"asn1 parse error"},
 
192
{ERR_REASON(ASN1_R_ASN1_SIG_PARSE_ERROR) ,"asn1 sig parse error"},
186
193
{ERR_REASON(ASN1_R_AUX_ERROR)            ,"aux error"},
187
194
{ERR_REASON(ASN1_R_BAD_CLASS)            ,"bad class"},
188
195
{ERR_REASON(ASN1_R_BAD_OBJECT_HEADER)    ,"bad object header"},
230
237
{ERR_REASON(ASN1_R_INTEGER_TOO_LARGE_FOR_LONG),"integer too large for long"},
231
238
{ERR_REASON(ASN1_R_INVALID_BMPSTRING_LENGTH),"invalid bmpstring length"},
232
239
{ERR_REASON(ASN1_R_INVALID_DIGIT)        ,"invalid digit"},
 
240
{ERR_REASON(ASN1_R_INVALID_MIME_TYPE)    ,"invalid mime type"},
233
241
{ERR_REASON(ASN1_R_INVALID_MODIFIER)     ,"invalid modifier"},
234
242
{ERR_REASON(ASN1_R_INVALID_NUMBER)       ,"invalid number"},
235
243
{ERR_REASON(ASN1_R_INVALID_SEPARATOR)    ,"invalid separator"},
239
247
{ERR_REASON(ASN1_R_IV_TOO_LARGE)         ,"iv too large"},
240
248
{ERR_REASON(ASN1_R_LENGTH_ERROR)         ,"length error"},
241
249
{ERR_REASON(ASN1_R_LIST_ERROR)           ,"list error"},
 
250
{ERR_REASON(ASN1_R_MIME_NO_CONTENT_TYPE) ,"mime no content type"},
 
251
{ERR_REASON(ASN1_R_MIME_PARSE_ERROR)     ,"mime parse error"},
 
252
{ERR_REASON(ASN1_R_MIME_SIG_PARSE_ERROR) ,"mime sig parse error"},
242
253
{ERR_REASON(ASN1_R_MISSING_EOC)          ,"missing eoc"},
243
254
{ERR_REASON(ASN1_R_MISSING_SECOND_NUMBER),"missing second number"},
244
255
{ERR_REASON(ASN1_R_MISSING_VALUE)        ,"missing value"},
248
259
{ERR_REASON(ASN1_R_NON_HEX_CHARACTERS)   ,"non hex characters"},
249
260
{ERR_REASON(ASN1_R_NOT_ASCII_FORMAT)     ,"not ascii format"},
250
261
{ERR_REASON(ASN1_R_NOT_ENOUGH_DATA)      ,"not enough data"},
 
262
{ERR_REASON(ASN1_R_NO_CONTENT_TYPE)      ,"no content type"},
251
263
{ERR_REASON(ASN1_R_NO_MATCHING_CHOICE_TYPE),"no matching choice type"},
 
264
{ERR_REASON(ASN1_R_NO_MULTIPART_BODY_FAILURE),"no multipart body failure"},
 
265
{ERR_REASON(ASN1_R_NO_MULTIPART_BOUNDARY),"no multipart boundary"},
 
266
{ERR_REASON(ASN1_R_NO_SIG_CONTENT_TYPE)  ,"no sig content type"},
252
267
{ERR_REASON(ASN1_R_NULL_IS_WRONG_LENGTH) ,"null is wrong length"},
253
268
{ERR_REASON(ASN1_R_OBJECT_NOT_ASCII_FORMAT),"object not ascii format"},
254
269
{ERR_REASON(ASN1_R_ODD_NUMBER_OF_CHARS)  ,"odd number of chars"},
258
273
{ERR_REASON(ASN1_R_SEQUENCE_NOT_CONSTRUCTED),"sequence not constructed"},
259
274
{ERR_REASON(ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG),"sequence or set needs config"},
260
275
{ERR_REASON(ASN1_R_SHORT_LINE)           ,"short line"},
 
276
{ERR_REASON(ASN1_R_SIG_INVALID_MIME_TYPE),"sig invalid mime type"},
 
277
{ERR_REASON(ASN1_R_STREAMING_NOT_SUPPORTED),"streaming not supported"},
261
278
{ERR_REASON(ASN1_R_STRING_TOO_LONG)      ,"string too long"},
262
279
{ERR_REASON(ASN1_R_STRING_TOO_SHORT)     ,"string too short"},
263
280
{ERR_REASON(ASN1_R_TAG_VALUE_TOO_HIGH)   ,"tag value too high"},