From 9a13e1c70b2b6de0695636f0881f2013985a1fd1 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Wed, 28 Oct 2009 16:49:31 -0700 Subject: [PATCH] crypt32: Add basic constraints to chain15_0. --- dlls/crypt32/tests/chain.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c index 90a1dd11761..4dd31aa86b5 100644 --- a/dlls/crypt32/tests/chain.c +++ b/dlls/crypt32/tests/chain.c @@ -1134,9 +1134,9 @@ static const BYTE chain14_1[] = { * A chain whose root is not allowed to sign certificates. */ static const BYTE chain15_0[] = { -0x30,0x82,0x01,0xb1,0x30,0x82,0x01,0x1c,0xa0,0x03,0x02,0x01,0x02,0x02,0x10, -0x15,0xfa,0x60,0xa8,0x53,0x1a,0xab,0x9f,0x22,0x18,0x06,0x5b,0xbd,0x08,0x04, -0xc5,0x30,0x0b,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x05,0x30, +0x30,0x82,0x01,0xc2,0x30,0x82,0x01,0x2d,0xa0,0x03,0x02,0x01,0x02,0x02,0x10, +0x10,0xb3,0x62,0xed,0xed,0x4a,0x92,0xda,0x74,0x62,0x74,0x48,0x99,0xa5,0xe9, +0x0d,0x30,0x0b,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x05,0x30, 0x10,0x31,0x0e,0x30,0x0c,0x06,0x03,0x55,0x04,0x03,0x13,0x05,0x43,0x65,0x72, 0x74,0x31,0x30,0x1e,0x17,0x0d,0x30,0x37,0x30,0x31,0x30,0x31,0x30,0x30,0x30, 0x30,0x30,0x30,0x5a,0x17,0x0d,0x30,0x37,0x31,0x32,0x33,0x31,0x32,0x33,0x35, @@ -1152,18 +1152,19 @@ static const BYTE chain15_0[] = { 0x0f,0x07,0xd6,0xea,0x27,0xa6,0xfe,0x3d,0x88,0xe5,0x97,0x45,0x72,0xb6,0x1c, 0xc0,0x1c,0xb1,0xa2,0x89,0xe8,0x37,0x9e,0xf6,0x2a,0xcf,0xd5,0x1f,0x2f,0x35, 0x5e,0x8f,0x3a,0x9c,0x61,0xb1,0xf1,0x6c,0xff,0x8c,0xb2,0x2f,0x02,0x03,0x01, -0x00,0x01,0xa3,0x12,0x30,0x10,0x30,0x0e,0x06,0x03,0x55,0x1d,0x0f,0x01,0x01, -0xff,0x04,0x04,0x03,0x02,0x00,0x00,0x30,0x0b,0x06,0x09,0x2a,0x86,0x48,0x86, -0xf7,0x0d,0x01,0x01,0x05,0x03,0x81,0x81,0x00,0x30,0xb9,0xd0,0xcf,0x1c,0x23, -0x03,0xd7,0x74,0x45,0xef,0x94,0xc9,0x33,0xc3,0x88,0x6e,0xbf,0xe0,0x5a,0xaa, -0x5f,0x37,0xa0,0xd7,0x1b,0x02,0x6b,0x6f,0xf5,0x67,0xe4,0xcd,0x68,0x64,0x76, -0x9f,0x62,0x1f,0x6a,0x92,0x63,0xa6,0xf1,0xf2,0x95,0x73,0xf2,0x9a,0x8d,0x58, -0x82,0xbb,0x7f,0xb0,0x79,0xbe,0x9c,0xfe,0xad,0x71,0x27,0x65,0xea,0x6d,0x90, -0x77,0x6f,0xbf,0x32,0x77,0xb1,0xb4,0xae,0x96,0xb1,0x67,0x81,0xd1,0x9f,0x29, -0xf6,0x12,0x58,0x44,0x32,0x94,0x75,0x4f,0x0c,0x27,0x7a,0xb1,0xa4,0x77,0xc7, -0x7d,0x87,0x0c,0xca,0xe5,0x4b,0x6c,0xe8,0xb5,0x8b,0x35,0xd0,0x9c,0xff,0x2f, -0x61,0x5c,0xb3,0x97,0xd0,0x1a,0x0d,0xb6,0x50,0xc7,0x31,0xea,0x91,0xfe,0x48, -0xce,0xd3 }; +0x00,0x01,0xa3,0x23,0x30,0x21,0x30,0x0e,0x06,0x03,0x55,0x1d,0x0f,0x01,0x01, +0xff,0x04,0x04,0x03,0x02,0x00,0x00,0x30,0x0f,0x06,0x03,0x55,0x1d,0x13,0x01, +0x01,0xff,0x04,0x05,0x30,0x03,0x01,0x01,0xff,0x30,0x0b,0x06,0x09,0x2a,0x86, +0x48,0x86,0xf7,0x0d,0x01,0x01,0x05,0x03,0x81,0x81,0x00,0x51,0x48,0x43,0xc9, +0xe3,0xb4,0xbc,0xc1,0x1d,0x98,0x14,0x69,0xd9,0xec,0x83,0x4d,0x07,0x70,0x58, +0xe9,0x45,0x88,0xe5,0x11,0x4a,0xf0,0x58,0x2d,0x8d,0x08,0x35,0x76,0x0e,0x42, +0x9f,0x62,0xda,0xf9,0x71,0x51,0x58,0xc7,0xd3,0x7e,0x88,0x6a,0x92,0xd2,0xfe, +0x86,0x4f,0xa2,0x17,0xe3,0xdd,0x9b,0x55,0xe0,0xdc,0xa7,0xe7,0x08,0xe0,0x0a, +0xa6,0xf3,0x09,0x17,0x63,0x10,0x89,0xe6,0x07,0x00,0x8e,0x2c,0x44,0x79,0x3e, +0x6c,0x51,0x9a,0xa3,0x59,0x17,0x8b,0x90,0xa8,0x82,0x64,0x09,0x77,0x95,0x55, +0xd6,0x38,0x43,0x8c,0x66,0xe6,0x7b,0xb9,0xf4,0xe1,0x7b,0x86,0x9b,0x8e,0xe3, +0x56,0xc9,0x62,0x62,0x6e,0x3d,0x4d,0x67,0x8d,0x5e,0x20,0xe5,0xd0,0xfa,0xaa, +0xbe,0x91,0xa8,0xf1 }; /* chain0_0 -> chain16_1: * A chain whose end cert has a name constraints extension saying it can't * be a CA, and which also has a key usage extension allowing it to sign