rsaenh/tests: Remove duplicate abPlainPrivateKey variable.

Michael Stefaniuc mstefani at
Thu Dec 13 17:17:33 CST 2007

The variable already exists as global variable and is BYTE for byte
identical to it.

This fixes the sparse warning:
dlls/rsaenh/tests/rsaenh.c:1518:10: warning: symbol 'abPlainPrivateKey' shadows an earlier one
 dlls/rsaenh/tests/rsaenh.c |   77 --------------------------------------------
 1 files changed, 0 insertions(+), 77 deletions(-)

diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c
index 9fdd926..6d4f565 100644
--- a/dlls/rsaenh/tests/rsaenh.c
+++ b/dlls/rsaenh/tests/rsaenh.c
@@ -1515,83 +1515,6 @@ static void test_schannel_provider(void)
     SCHANNEL_ALG saSChannelAlg;
     CRYPT_DATA_BLOB data_blob;
     HMAC_INFO hmacInfo = { CALG_MD5, NULL, 0, NULL, 0 };
-    BYTE abPlainPrivateKey[596] = {
-        0x07, 0x02, 0x00, 0x00, 0x00, 0xa4, 0x00, 0x00,
-        0x52, 0x53, 0x41, 0x32, 0x00, 0x04, 0x00, 0x00,
-        0x01, 0x00, 0x01, 0x00, 0x9b, 0x64, 0xef, 0xce,
-        0x31, 0x7c, 0xad, 0x56, 0xe2, 0x1e, 0x9b, 0x96,
-        0xb3, 0xf0, 0x29, 0x88, 0x6e, 0xa8, 0xc2, 0x11,
-        0x33, 0xd6, 0xcc, 0x8c, 0x69, 0xb2, 0x1a, 0xfd,
-        0xfc, 0x23, 0x21, 0x30, 0x4d, 0x29, 0x45, 0xb6,
-        0x3a, 0x67, 0x11, 0x80, 0x1a, 0x91, 0xf2, 0x9f,
-        0x01, 0xac, 0xc0, 0x11, 0x50, 0x5f, 0xcd, 0xb9,
-        0xad, 0x76, 0x9f, 0x6e, 0x91, 0x55, 0x71, 0xda,
-        0x97, 0x96, 0x96, 0x22, 0x75, 0xb4, 0x83, 0x44,
-        0x89, 0x9e, 0xf8, 0x44, 0x40, 0x7c, 0xd6, 0xcd,
-        0x9d, 0x88, 0xd6, 0x88, 0xbc, 0x56, 0xb7, 0x64,
-        0xe9, 0x2c, 0x24, 0x2f, 0x0d, 0x78, 0x55, 0x1c,
-        0xb2, 0x67, 0xb1, 0x5e, 0xbc, 0x0c, 0xcf, 0x1c,
-        0xe9, 0xd3, 0x9e, 0xa2, 0x15, 0x24, 0x73, 0xd6,
-        0xdb, 0x6f, 0x83, 0xb2, 0xf8, 0xbc, 0xe7, 0x47,
-        0x3b, 0x01, 0xef, 0x49, 0x08, 0x98, 0xd6, 0xa3,
-        0xf9, 0x25, 0x57, 0xe9, 0x39, 0x3c, 0x53, 0x30,
-        0x1b, 0xf2, 0xc9, 0x62, 0x31, 0x43, 0x5d, 0x84,
-        0x24, 0x30, 0x21, 0x9a, 0xad, 0xdb, 0x62, 0x91,
-        0xc8, 0x07, 0xd9, 0x2f, 0xd6, 0xb5, 0x37, 0x6f,
-        0xfe, 0x7a, 0x12, 0xbc, 0xd9, 0xd2, 0x2b, 0xbf,
-        0xd7, 0xb1, 0xfa, 0x7d, 0xc0, 0x48, 0xdd, 0x74,
-        0xdd, 0x55, 0x04, 0xa1, 0x8b, 0xc1, 0x0a, 0xc4,
-        0xa5, 0x57, 0x62, 0xee, 0x08, 0x8b, 0xf9, 0x19,
-        0x6c, 0x52, 0x06, 0xf8, 0x73, 0x0f, 0x24, 0xc9,
-        0x71, 0x9f, 0xc5, 0x45, 0x17, 0x3e, 0xae, 0x06,
-        0x81, 0xa2, 0x96, 0x40, 0x06, 0xbf, 0xeb, 0x9e,
-        0x80, 0x2b, 0x27, 0x20, 0x8f, 0x38, 0xcf, 0xeb,
-        0xff, 0x3b, 0x38, 0x41, 0x35, 0x69, 0x66, 0x13,
-        0x1d, 0x3c, 0x01, 0x3b, 0xf6, 0x37, 0xca, 0x9c,
-        0x61, 0x74, 0x98, 0xcf, 0xc9, 0x6e, 0xe8, 0x90,
-        0xc7, 0xb7, 0x33, 0xc0, 0x07, 0x3c, 0xf8, 0xc8,
-        0xf6, 0xf2, 0xd7, 0xf0, 0x21, 0x62, 0x58, 0x8a,
-        0x55, 0xbf, 0xa1, 0x2d, 0x3d, 0xa6, 0x69, 0xc5,
-        0x02, 0x19, 0x31, 0xf0, 0x94, 0x0f, 0x45, 0x5c,
-        0x95, 0x1b, 0x53, 0xbc, 0xf5, 0xb0, 0x1a, 0x8f,
-        0xbf, 0x40, 0xe0, 0xc7, 0x73, 0xe7, 0x72, 0x6e,
-        0xeb, 0xb1, 0x0f, 0x38, 0xc5, 0xf8, 0xee, 0x04,
-        0xed, 0x34, 0x1a, 0x10, 0xf9, 0x53, 0x34, 0xf3,
-        0x3e, 0xe6, 0x5c, 0xd1, 0x47, 0x65, 0xcd, 0xbd,
-        0xf1, 0x06, 0xcb, 0xb4, 0xb1, 0x26, 0x39, 0x9f,
-        0x71, 0xfe, 0x3d, 0xf8, 0x62, 0xab, 0x22, 0x8b,
-        0x0e, 0xdc, 0xb9, 0xe8, 0x74, 0x06, 0xfc, 0x8c,
-        0x25, 0xa1, 0xa9, 0xcf, 0x07, 0xf9, 0xac, 0x21,
-        0x01, 0x7b, 0x1c, 0xdc, 0x94, 0xbd, 0x47, 0xe1,
-        0xa0, 0x86, 0x59, 0x35, 0x6a, 0x6f, 0xb9, 0x70,
-        0x26, 0x7c, 0x3c, 0xfd, 0xbd, 0x81, 0x39, 0x36,
-        0x42, 0xc2, 0xbd, 0xbe, 0x84, 0x27, 0x9a, 0x69,
-        0x81, 0xda, 0x99, 0x27, 0xc2, 0x4f, 0x62, 0x33,
-        0xf4, 0x79, 0x30, 0xc5, 0x63, 0x54, 0x71, 0xf1,
-        0x47, 0x22, 0x25, 0x9b, 0x6c, 0x00, 0x2f, 0x1c,
-        0xf4, 0x1f, 0x85, 0xbc, 0xf6, 0x67, 0x6a, 0xe3,
-        0xf6, 0x55, 0x8a, 0xef, 0xd0, 0x0b, 0xd3, 0xa2,
-        0xc5, 0x51, 0x70, 0x15, 0x0a, 0xf0, 0x98, 0x4c,
-        0xb7, 0x19, 0x62, 0x0e, 0x2d, 0x2a, 0x4a, 0x7d,
-        0x7a, 0x0a, 0xc4, 0x17, 0xe3, 0x5d, 0x20, 0x52,
-        0xa9, 0x98, 0xc3, 0xaa, 0x11, 0xf6, 0xbf, 0x4c,
-        0x94, 0x99, 0x81, 0x89, 0xf0, 0x7f, 0x66, 0xaa,
-        0xc8, 0x88, 0xd7, 0x31, 0x84, 0x71, 0xb6, 0x64,
-        0x09, 0x76, 0x0b, 0x7f, 0x1a, 0x1f, 0x2e, 0xfe,
-        0xcd, 0x59, 0x2a, 0x54, 0x11, 0x84, 0xd4, 0x6a,
-        0x61, 0xdf, 0xaa, 0x76, 0x66, 0x9d, 0x82, 0x11,
-        0x56, 0x3d, 0xd2, 0x52, 0xe6, 0x42, 0x5a, 0x77,
-        0x92, 0x98, 0x34, 0xf3, 0x56, 0x6c, 0x96, 0x10,
-        0x40, 0x59, 0x16, 0xcb, 0x77, 0x61, 0xe3, 0xbf,
-        0x4b, 0xd4, 0x39, 0xfb, 0xb1, 0x4e, 0xc1, 0x74,
-        0xec, 0x7a, 0xea, 0x3d, 0x68, 0xbb, 0x0b, 0xe6,
-        0xc6, 0x06, 0xbf, 0xdd, 0x7f, 0x94, 0x42, 0xc0,
-        0x0f, 0xe4, 0x92, 0x33, 0x6c, 0x6e, 0x1b, 0xba,
-        0x73, 0xf9, 0x79, 0x84, 0xdf, 0x45, 0x00, 0xe4,
-        0x94, 0x88, 0x9d, 0x08, 0x89, 0xcf, 0xf2, 0xa4,
-        0xc5, 0x47, 0x45, 0x85, 0x86, 0xa5, 0xcc, 0xa8,
-        0xf2, 0x5d, 0x58, 0x07
-    };
     BYTE abTLS1Master[140] = {
         0x01, 0x02, 0x00, 0x00, 0x06, 0x4c, 0x00, 0x00, 
         0x00, 0xa4, 0x00, 0x00, 0x5b, 0x13, 0xc7, 0x68, 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list