summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/openpgp/keyring.c18
1 files changed, 9 insertions, 9 deletions
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