~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to security/nss-fips/tests/pkcs11/netscape/suites/security/ssl/ssls.c

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2008-07-29 21:29:02 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080729212902-spm9kpvchp9udwbw
Tags: 1.1.11+nobinonly-0ubuntu1
* New security upstream release: 1.1.11 (LP: #218534)
  Fixes USN-602-1, USN-619-1, USN-623-1 and USN-629-1
* Refresh diverged patch:
  - update debian/patches/80_security_build.patch
* Fix FTBFS with missing -lfontconfig
  - add debian/patches/11_fix_ftbfs_with_fontconfig.patch
  - update debian/patches/series
* Build with default gcc (hardy: 4.2, intrepid: 4.3)
  - update debian/rules
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
3
 *
 
4
 * The contents of this file are subject to the Mozilla Public License Version
 
5
 * 1.1 (the "License"); you may not use this file except in compliance with
 
6
 * the License. You may obtain a copy of the License at
 
7
 * http://www.mozilla.org/MPL/
 
8
 *
 
9
 * Software distributed under the License is distributed on an "AS IS" basis,
 
10
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
11
 * for the specific language governing rights and limitations under the
 
12
 * License.
 
13
 *
 
14
 * The Original Code is the Netscape security libraries.
 
15
 *
 
16
 * The Initial Developer of the Original Code is
 
17
 * Netscape Communications Corporation.
 
18
 * Portions created by the Initial Developer are Copyright (C) 1994-2000
 
19
 * the Initial Developer. All Rights Reserved.
 
20
 *
 
21
 * Contributor(s):
 
22
 *
 
23
 * Alternatively, the contents of this file may be used under the terms of
 
24
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 
25
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
26
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
27
 * of those above. If you wish to allow use of your version of this file only
 
28
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
29
 * use your version of this file under the terms of the MPL, indicate your
 
30
 * decision by deleting the provisions above and replace them with the notice
 
31
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
32
 * the provisions above, a recipient may use your version of this file under
 
33
 * the terms of any one of the MPL, the GPL or the LGPL.
 
34
 *
 
35
 * ***** END LICENSE BLOCK ***** */
 
36
 
 
37
#include "ssls.h"
 
38
 
 
39
#include <ssl.h>
 
40
#include <sslproto.h>
 
41
 
 
42
/* 21 lines x 8 chars = 168 bytes */
 
43
 
 
44
 
 
45
#if 1
 
46
unsigned char data[] = {
 
47
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
48
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
49
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
50
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
51
 
 
52
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
53
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
54
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
55
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
56
 
 
57
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
58
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
59
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
60
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
61
 
 
62
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
63
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
64
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
65
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
66
 
 
67
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
68
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
69
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
70
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
71
 
 
72
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08
 
73
};
 
74
 
 
75
#else
 
76
 
 
77
unsigned char data[] = {
 
78
  0x2e, 0x86, 0x53, 0x10, 0x4f, 0x38, 0x34, 0xea,
 
79
  0x4b, 0xd3, 0x88, 0xff, 0x6c, 0xd8, 0x1d, 0x4f,
 
80
  0x20, 0xb9, 0xe7, 0x67, 0xb2, 0xfb, 0x14, 0x56,
 
81
  0x55, 0x57, 0x93, 0x80, 0xd7, 0x71, 0x38, 0xef,
 
82
 
 
83
  0x6c, 0xc5, 0xde, 0xfa, 0xaf, 0x04, 0x51, 0x2f,
 
84
  0x0d, 0x9f, 0x27, 0x9b, 0xa5, 0xd8, 0x72, 0x60,
 
85
  0xd9, 0x03, 0x1b, 0x02, 0x71, 0xbd, 0x5a, 0x0a,
 
86
  0x42, 0x42, 0x50, 0xb3, 0x7c, 0x3d, 0xd9, 0x51,
 
87
 
 
88
  0xb8, 0x06, 0x1b, 0x7e, 0xcd, 0x9a, 0x21, 0xe5,
 
89
  0xf1, 0x5d, 0x0f, 0x28, 0x6b, 0x65, 0xbd, 0x28,
 
90
  0xad, 0xd0, 0xcc, 0x8d, 0x6e, 0x5d, 0xeb, 0xa1,
 
91
  0xe6, 0xd5, 0xf8, 0x27, 0x52, 0xad, 0x63, 0xd1,
 
92
 
 
93
  0xec, 0xbf, 0xe3, 0xbd, 0x3f, 0x59, 0x1a, 0x5e,
 
94
  0xf3, 0x56, 0x83, 0x43, 0x79, 0xd1, 0x65, 0xcd,
 
95
  0x2b, 0x9f, 0x98, 0x2f, 0x20, 0x03, 0x7f, 0xa9,
 
96
  0x88, 0x9d, 0xe0, 0x68, 0xa1, 0x6f, 0x0b, 0xe6,
 
97
 
 
98
  0xe1, 0x9e, 0x27, 0x5d, 0x84, 0x6a, 0x12, 0x98,
 
99
  0x32, 0x9a, 0x8e, 0xd5, 0x23, 0xd7, 0x1a, 0xec,
 
100
  0xe7, 0xfc, 0xe2, 0x25, 0x57, 0xd2, 0x3c, 0x97,
 
101
  0x12, 0xa9, 0xf5, 0x81, 0x7f, 0xf2, 0xd6, 0x5d,
 
102
 
 
103
  0xa4, 0x84, 0xc3, 0xad, 0x38, 0xdc, 0x9c, 0x19
 
104
};
 
105
#endif
 
106
 
 
107
 
 
108