]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
safer use of KEYID_IMPORT().
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>
Mon, 2 Jun 2008 19:55:07 +0000 (22:55 +0300)
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>
Mon, 2 Jun 2008 19:55:07 +0000 (22:55 +0300)
lib/openpgp/openpgp_int.h

index 61757437182bec92fcf9b7e8955a4894211ac4ae..42b176a3c6339338e4f720d0bd1150208efc0dc8 100644 (file)
@@ -10,9 +10,9 @@
 #include <opencdk.h>
 #include <gnutls/openpgp.h>
 
-#define KEYID_IMPORT(dst, src) \
+#define KEYID_IMPORT(dst, src) \
        dst[0] = _gnutls_read_uint32( src); \
-       dst[1] = _gnutls_read_uint32( src+4)
+       dst[1] = _gnutls_read_uint32( src+4); }
 
 /* Internal context to store the OpenPGP key. */
 typedef struct gnutls_openpgp_crt_int