summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-05-01 21:14:35 +0000
committerSimon Josefsson <simon@josefsson.org>2005-05-01 21:14:35 +0000
commit07a0a81bad20518f29d4b33c7856f338f8536f45 (patch)
tree9b44a4322bf115ed756ae1a05ceb1dbf0e88583c
parent4aa1825cc999348a1a4700098a7b049503758352 (diff)
downloadgnutls-07a0a81bad20518f29d4b33c7856f338f8536f45.tar.gz
Use gnutls/extra.h to get gnutls_openpgp_recv_key_func type.
-rw-r--r--lib/gnutls_int.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index cf98d28710..e2d300e0f7 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -27,6 +27,7 @@
#define GNUTLS_INT_H
#include <gnutls/gnutls.h>
+#include <gnutls/extra.h>
#include <defines.h>
@@ -361,12 +362,6 @@ typedef struct {
gnutls_handshake_description_t recv_type;
} handshake_header_buffer_st;
-/* Openpgp key retrieval callback */
-typedef int (*gnutls_openpgp_recv_key_func) (struct gnutls_session_int *,
- const unsigned char *keyfpr,
- unsigned int keyfpr_length,
- gnutls_datum_t *);
-
typedef struct {
gnutls_buffer application_data_buffer; /* holds data to be delivered to application layer */
gnutls_buffer handshake_hash_buffer; /* used to keep the last received handshake