diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-17 06:57:05 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-17 06:57:05 +0000 |
commit | 862979c6f2d6ecaadeb4a1fe0e4c5365df65909b (patch) | |
tree | dc0d0ee0eef4db9aaf27f99cd8f3abc6d74d52e7 /libextra | |
parent | c0a201d9022aeeb289afb35ce79e85595d39d715 (diff) | |
download | gnutls-862979c6f2d6ecaadeb4a1fe0e4c5365df65909b.tar.gz |
Corrected issue in openpgp code, which did not allow compilation when opencdk was not present.
Diffstat (limited to 'libextra')
-rw-r--r-- | libextra/openpgp/gnutls_openpgp.h | 6 | ||||
-rw-r--r-- | libextra/openpgp/openpgp.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libextra/openpgp/gnutls_openpgp.h b/libextra/openpgp/gnutls_openpgp.h index 7a60dfa1c4..944523375e 100644 --- a/libextra/openpgp/gnutls_openpgp.h +++ b/libextra/openpgp/gnutls_openpgp.h @@ -1,3 +1,7 @@ +#include <config.h> + +#ifdef HAVE_LIBOPENCDK + #ifndef GNUTLS_OPENPGP_H #define GNUTLS_OPENPGP_H @@ -91,3 +95,5 @@ time_t gnutls_openpgp_extract_key_expiration_time(const gnutls_datum * cert); #endif /*GNUTLS_OPENPGP_H*/ + +#endif /*HAVE_LIBOPENCDK*/ diff --git a/libextra/openpgp/openpgp.h b/libextra/openpgp/openpgp.h index e98ad18de8..2899919eb5 100644 --- a/libextra/openpgp/openpgp.h +++ b/libextra/openpgp/openpgp.h @@ -1,3 +1,7 @@ +#include <config.h> + +#ifdef HAVE_LIBOPENCDK + #ifndef OPENPGP_H # define OPENPGP_H @@ -63,3 +67,5 @@ int gnutls_openpgp_key_verify_trustdb( gnutls_openpgp_key key, unsigned int flags, unsigned int *verify); #endif + +#endif /* HAVE_LIBOPENCDK */ |