summaryrefslogtreecommitdiff
path: root/lib/gnutls_sig.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_sig.h')
-rw-r--r--lib/gnutls_sig.h28
1 files changed, 12 insertions, 16 deletions
diff --git a/lib/gnutls_sig.h b/lib/gnutls_sig.h
index 4cc217fb77..c7b79a14ea 100644
--- a/lib/gnutls_sig.h
+++ b/lib/gnutls_sig.h
@@ -2,21 +2,17 @@
# define GNUTLS_SIG_H
# include <auth_cert.h>
-gnutls_certificate_status gnutls_x509_verify_signature(gnutls_cert * cert,
- gnutls_cert *
- issuer);
-int _gnutls_tls_sign_hdata(gnutls_session session, gnutls_cert * cert,
- gnutls_privkey * pkey,
- gnutls_datum * signature);
-int _gnutls_tls_sign_params(gnutls_session session, gnutls_cert * cert,
- gnutls_privkey * pkey, gnutls_datum * params,
- gnutls_datum * signature);
-int _gnutls_verify_sig_hdata(gnutls_session session, gnutls_cert * cert,
- gnutls_datum * signature);
-int _gnutls_verify_sig_params(gnutls_session session, gnutls_cert * cert,
- const gnutls_datum * params,
- gnutls_datum * signature);
-int _gnutls_sign(gnutls_pk_algorithm algo, mpi_t * params, int params_size,
- const gnutls_datum * data, gnutls_datum * signature);
+gnutls_certificate_status_t gnutls_x509_verify_signature(gnutls_cert * cert,
+ gnutls_cert * issuer);
+int _gnutls_tls_sign_hdata(gnutls_session_t session, gnutls_cert * cert,
+ gnutls_privkey * pkey, gnutls_datum_t * signature);
+int _gnutls_tls_sign_params(gnutls_session_t session, gnutls_cert * cert,
+ gnutls_privkey * pkey, gnutls_datum_t * params, gnutls_datum_t * signature);
+int _gnutls_verify_sig_hdata(gnutls_session_t session, gnutls_cert * cert,
+ gnutls_datum_t * signature);
+int _gnutls_verify_sig_params(gnutls_session_t session, gnutls_cert * cert,
+ const gnutls_datum_t * params, gnutls_datum_t * signature);
+int _gnutls_sign(gnutls_pk_algorithm_t algo, mpi_t * params, int params_size,
+ const gnutls_datum_t * data, gnutls_datum_t * signature);
#endif