diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-08-25 13:01:19 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-08-25 13:01:19 +0000 |
commit | 81ee53b3809b2a001db3d043c3d379705e2f21e4 (patch) | |
tree | 3d340551a926b84687320ebaa18b0ddea34db0cb /includes | |
parent | d00e5377f81c037597964609d361280061137bc1 (diff) | |
download | gnutls-81ee53b3809b2a001db3d043c3d379705e2f21e4.tar.gz |
Fix prototypes.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/extra.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/gnutls/extra.h b/includes/gnutls/extra.h index b948becc7d..2f164f57b1 100644 --- a/includes/gnutls/extra.h +++ b/includes/gnutls/extra.h @@ -34,7 +34,8 @@ typedef int (*gnutls_openpgp_recv_key_func)(gnutls_session_t, const unsigned char *keyfpr, unsigned int keyfpr_length, gnutls_datum_t *key); -void gnutls_openpgp_set_recv_key_function( gnutls_session_t, gnutls_openpgp_recv_key_func); +void gnutls_openpgp_set_recv_key_function( gnutls_session_t session, + gnutls_openpgp_recv_key_func func); int gnutls_certificate_set_openpgp_key_file( gnutls_certificate_credentials_t res, const char *CERTFILE, const char* KEYFILE); @@ -51,8 +52,8 @@ int gnutls_certificate_set_openpgp_keyring_mem( gnutls_certificate_credentials_t c, const unsigned char *data, size_t dlen ); -int gnutls_certificate_set_openpgp_keyring_file( gnutls_certificate_credentials_t res, - const char *name); +int gnutls_certificate_set_openpgp_keyring_file( gnutls_certificate_credentials_t c, + const char *file); int gnutls_global_init_extra(void); |