~ubuntu-branches/ubuntu/lucid/nss/lucid-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-11-15 08:08:08 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20131115080808-dba1asgnjl9tc66s
Tags: 3.15.3-0ubuntu0.10.04.1
* SECURITY UPDATE: New upstream release to fix multiple security issues
  and add TLSv1.2 support.
  - CVE-2013-1739
  - CVE-2013-1741
  - CVE-2013-5605
  - CVE-2013-5606
* Adjusted packaging for 3.15.3:
  - debian/patches/*: refreshed.
  - debian/patches/01_dont_build_nspr.patch: removed, changed build
    options in debian/rules instead.
  - debian/libnss3-1d.symbols: added new symbols.
  - debian/rules: updated for new source layout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This Source Code Form is subject to the terms of the Mozilla Public
 
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
4
 
 
5
#include "ssls.h"
 
6
 
 
7
#include <ssl.h>
 
8
#include <sslproto.h>
 
9
 
 
10
/* 21 lines x 8 chars = 168 bytes */
 
11
 
 
12
 
 
13
#if 1
 
14
unsigned char data[] = {
 
15
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
16
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
17
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
18
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
19
 
 
20
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
21
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
22
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
23
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
24
 
 
25
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
26
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
27
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
28
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
29
 
 
30
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
31
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
32
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
33
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
34
 
 
35
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
36
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
37
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
38
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08,
 
39
 
 
40
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x07, 0x08
 
41
};
 
42
 
 
43
#else
 
44
 
 
45
unsigned char data[] = {
 
46
  0x2e, 0x86, 0x53, 0x10, 0x4f, 0x38, 0x34, 0xea,
 
47
  0x4b, 0xd3, 0x88, 0xff, 0x6c, 0xd8, 0x1d, 0x4f,
 
48
  0x20, 0xb9, 0xe7, 0x67, 0xb2, 0xfb, 0x14, 0x56,
 
49
  0x55, 0x57, 0x93, 0x80, 0xd7, 0x71, 0x38, 0xef,
 
50
 
 
51
  0x6c, 0xc5, 0xde, 0xfa, 0xaf, 0x04, 0x51, 0x2f,
 
52
  0x0d, 0x9f, 0x27, 0x9b, 0xa5, 0xd8, 0x72, 0x60,
 
53
  0xd9, 0x03, 0x1b, 0x02, 0x71, 0xbd, 0x5a, 0x0a,
 
54
  0x42, 0x42, 0x50, 0xb3, 0x7c, 0x3d, 0xd9, 0x51,
 
55
 
 
56
  0xb8, 0x06, 0x1b, 0x7e, 0xcd, 0x9a, 0x21, 0xe5,
 
57
  0xf1, 0x5d, 0x0f, 0x28, 0x6b, 0x65, 0xbd, 0x28,
 
58
  0xad, 0xd0, 0xcc, 0x8d, 0x6e, 0x5d, 0xeb, 0xa1,
 
59
  0xe6, 0xd5, 0xf8, 0x27, 0x52, 0xad, 0x63, 0xd1,
 
60
 
 
61
  0xec, 0xbf, 0xe3, 0xbd, 0x3f, 0x59, 0x1a, 0x5e,
 
62
  0xf3, 0x56, 0x83, 0x43, 0x79, 0xd1, 0x65, 0xcd,
 
63
  0x2b, 0x9f, 0x98, 0x2f, 0x20, 0x03, 0x7f, 0xa9,
 
64
  0x88, 0x9d, 0xe0, 0x68, 0xa1, 0x6f, 0x0b, 0xe6,
 
65
 
 
66
  0xe1, 0x9e, 0x27, 0x5d, 0x84, 0x6a, 0x12, 0x98,
 
67
  0x32, 0x9a, 0x8e, 0xd5, 0x23, 0xd7, 0x1a, 0xec,
 
68
  0xe7, 0xfc, 0xe2, 0x25, 0x57, 0xd2, 0x3c, 0x97,
 
69
  0x12, 0xa9, 0xf5, 0x81, 0x7f, 0xf2, 0xd6, 0x5d,
 
70
 
 
71
  0xa4, 0x84, 0xc3, 0xad, 0x38, 0xdc, 0x9c, 0x19
 
72
};
 
73
#endif
 
74
 
 
75
 
 
76