]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
changes for the new api
authorNikos <nmav@crystal.(none)>
Mon, 14 Jan 2008 19:03:16 +0000 (21:03 +0200)
committerNikos <nmav@crystal.(none)>
Mon, 14 Jan 2008 19:03:16 +0000 (21:03 +0200)
tests/openpgp/keyring.c

index dd4dc3c96b97fed361473e3fc2b7b43cb4d793bc..9453d3f78ead8dff636e8dcacd2136c00ac0290f 100644 (file)
@@ -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 } };
 
 \f
 void