summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos <nmav@crystal.(none)>2008-01-14 21:03:16 +0200
committerNikos <nmav@crystal.(none)>2008-01-14 21:03:16 +0200
commit1c06c2e7f1c7ebefd4e1b2b3a034f2fb1f4ace75 (patch)
treef19885f0ddda2b9d768a5280b35e673618ac6be9 /tests
parentdc4b410f7d06b7a77716d9c297c6c418d86d41d1 (diff)
downloadgnutls-1c06c2e7f1c7ebefd4e1b2b3a034f2fb1f4ace75.tar.gz
changes for the new api
Diffstat (limited to 'tests')
-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