r9647: saved_pac is binary data, so prevent any possible portability problems with...
authorAndrew Tridgell <tridge@samba.org>
Fri, 26 Aug 2005 11:42:21 +0000 (11:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:34:37 +0000 (13:34 -0500)
(This used to be commit 4b3e3a9633bf7ce57f537b9897c0e9c613a99f7a)

source4/torture/auth/pac.c

index d5d5d0abc713aa7ff94fb1a48cd54174372db4d7..5218d73d8f21c49a797cfccd4e67c05822a127f9 100644 (file)
@@ -196,7 +196,7 @@ static BOOL torture_pac_self_check(void)
    -- abartlet 2005-07-04
  */
 
-static const char saved_pac[] = {
+static const uint8_t saved_pac[] = {
        0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xd8, 0x01, 0x00, 0x00, 
        0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00,
        0x20, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00,