diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-12 12:01:41 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-12 12:01:41 +0000 |
commit | c11c3a0085629e06a93a152c4e8ab5dd5e33ee70 (patch) | |
tree | f07284eed3d6fb5903f3525fbd363f36f5f93a9b /libextra | |
parent | a0d219d8a1ab1eca3547ecede8bc7489b84767aa (diff) | |
download | gnutls-c11c3a0085629e06a93a152c4e8ab5dd5e33ee70.tar.gz |
some fixes to compile.
Diffstat (limited to 'libextra')
-rw-r--r-- | libextra/gnutls_openpgp.c | 3 | ||||
-rw-r--r-- | libextra/gnutls_openpgp.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libextra/gnutls_openpgp.c b/libextra/gnutls_openpgp.c index 8a17e44b06..fb8f447140 100644 --- a/libextra/gnutls_openpgp.c +++ b/libextra/gnutls_openpgp.c @@ -28,6 +28,7 @@ #include "gnutls_openpgp.h" #ifdef HAVE_LIBOPENCDK +#include <gnutls/compat8.h> #include <gnutls_str.h> #include <stdio.h> #include <gcrypt.h> @@ -40,7 +41,7 @@ #include <netdb.h> #include <assert.h> -#define OPENPGP_NAME_SIZE GNUTLS_X509_CN_SIZE +#define OPENPGP_NAME_SIZE 256 #define datum_append(x, y, z) _gnutls_datum_append_m( x, y, z, gnutls_realloc ) diff --git a/libextra/gnutls_openpgp.h b/libextra/gnutls_openpgp.h index c23c1d6d0b..7f3b08f2df 100644 --- a/libextra/gnutls_openpgp.h +++ b/libextra/gnutls_openpgp.h @@ -1,6 +1,7 @@ #ifndef GNUTLS_OPENPGP_H #define GNUTLS_OPENPGP_H +#include <gnutls/compat8.h> #include <auth_cert.h> /* OpenCDK compatible */ |