From: Nikos Date: Mon, 14 Jan 2008 19:03:16 +0000 (+0200) Subject: changes for the new api X-Git-Tag: gnutls_2_3_1~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c06c2e7f1c7ebefd4e1b2b3a034f2fb1f4ace75;p=thirdparty%2Fgnutls.git changes for the new api --- diff --git a/tests/openpgp/keyring.c b/tests/openpgp/keyring.c index dd4dc3c96b..9453d3f78e 100644 --- a/tests/openpgp/keyring.c +++ b/tests/openpgp/keyring.c @@ -162,19 +162,19 @@ static unsigned char raw_keyring[] = { 0x08, 0x61, 0xDB }; /* The ID of a key known to be in the above keyring. */ -static const unsigned char id_in_keyring[8] = +static const gnutls_openpgp_keyid_t id_in_keyring = /* "Dr. Who", first key in the keyring */ - { 0x35, 0x14, 0x5c, 0xea, - 0xa7, 0xd9, 0x3c, 0x3f }; + { { 0x35, 0x14, 0x5c, 0xea, + 0xa7, 0xd9, 0x3c, 0x3f } }; -static const unsigned char id2_in_keyring[8] = +static const gnutls_openpgp_keyid_t id2_in_keyring = /* OpenCDK test key, second key in the keyring */ - { 0xbd, 0x57, 0x2c, 0xdc, - 0xcc, 0xc0, 0x7c, 0x35 }; + { { 0xbd, 0x57, 0x2c, 0xdc, + 0xcc, 0xc0, 0x7c, 0x35 } }; -static const unsigned char id_not_in_keyring[8] = - { 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00 }; +static const gnutls_openpgp_keyid_t id_not_in_keyring = + { { 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00 } }; void