summaryrefslogtreecommitdiff
path: root/includes/gnutls/openpgp.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-10-03 11:14:57 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-10-03 11:14:57 +0000
commited1d22b9fd875d4af17bfe7efe096526a8ae030a (patch)
tree7e0578c02b03eece0341c334115201328e5c740a /includes/gnutls/openpgp.h
parent8b99a69401e62d6e8721875fc9900bc887e4099f (diff)
downloadgnutls-ed1d22b9fd875d4af17bfe7efe096526a8ae030a.tar.gz
Converted the pgp verification functions to the new API.
Diffstat (limited to 'includes/gnutls/openpgp.h')
-rw-r--r--includes/gnutls/openpgp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/gnutls/openpgp.h b/includes/gnutls/openpgp.h
index 6767796a75..6fce2e5b05 100644
--- a/includes/gnutls/openpgp.h
+++ b/includes/gnutls/openpgp.h
@@ -79,11 +79,11 @@ int gnutls_openpgp_keyring_import(gnutls_openpgp_keyring ring,
*/
struct gnutls_openpgp_trustdb;
-int gnutls_openpgp_trustdb_init( gnutls_openpgp_trustdb* ring);
-void gnutls_openpgp_trustdb_deinit(gnutls_openpgp_trustdb ring);
+int gnutls_openpgp_trustdb_init( gnutls_openpgp_trustdb* db);
+void gnutls_openpgp_trustdb_deinit(gnutls_openpgp_trustdb db);
-int gnutls_openpgp_trustdb_import(gnutls_openpgp_trustdb ring,
- const gnutls_datum* data, gnutls_openpgp_key_fmt format);
+int gnutls_openpgp_trustdb_import(gnutls_openpgp_trustdb db,
+ const char* file);
int gnutls_openpgp_key_verify_ring(
@@ -92,7 +92,7 @@ int gnutls_openpgp_key_verify_ring(
unsigned int flags /* if not used reserved for future use,
unsigned int * verify /* the output of the verification */);
-int gnutls_openpgp_key_verify_db(
+int gnutls_openpgp_key_verify_trustdb(
gnutls_openpgp_key key,
gnutls_openpgp_trustdb db,
unsigned int flags /* if not used reserved for future use,