aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/tls/gnutls_x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/tls/gnutls_x509.h')
-rw-r--r--src/daemon/https/tls/gnutls_x509.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/daemon/https/tls/gnutls_x509.h b/src/daemon/https/tls/gnutls_x509.h
index b2d92603..07269328 100644
--- a/src/daemon/https/tls/gnutls_x509.h
+++ b/src/daemon/https/tls/gnutls_x509.h
@@ -25,7 +25,7 @@
25#include <libtasn1.h> 25#include <libtasn1.h>
26 26
27int MHD__gnutls_x509_cert_verify_peers (MHD_gtls_session_t session, 27int MHD__gnutls_x509_cert_verify_peers (MHD_gtls_session_t session,
28 unsigned int *status); 28 unsigned int *status);
29 29
30#define PEM_CERT_SEP2 "-----BEGIN X509 CERTIFICATE" 30#define PEM_CERT_SEP2 "-----BEGIN X509 CERTIFICATE"
31#define PEM_CERT_SEP "-----BEGIN CERTIFICATE" 31#define PEM_CERT_SEP "-----BEGIN CERTIFICATE"
@@ -36,13 +36,15 @@ int MHD__gnutls_x509_cert_verify_peers (MHD_gtls_session_t session,
36#define PEM_KEY_DSA_SEP "-----BEGIN DSA" 36#define PEM_KEY_DSA_SEP "-----BEGIN DSA"
37 37
38int MHD__gnutls_check_key_usage (const MHD_gnutls_cert * cert, 38int MHD__gnutls_check_key_usage (const MHD_gnutls_cert * cert,
39 enum MHD_GNUTLS_KeyExchangeAlgorithm alg); 39 enum MHD_GNUTLS_KeyExchangeAlgorithm alg);
40 40
41int MHD__gnutls_x509_read_rsa_params (opaque * der, int dersize, mpi_t * params); 41int MHD__gnutls_x509_read_rsa_params (opaque * der, int dersize,
42int MHD__gnutls_x509_read_dsa_pubkey (opaque * der, int dersize, mpi_t * params); 42 mpi_t * params);
43int MHD__gnutls_x509_read_dsa_pubkey (opaque * der, int dersize,
44 mpi_t * params);
43 45
44int MHD__gnutls_x509_raw_privkey_to_gkey (MHD_gnutls_privkey * privkey, 46int MHD__gnutls_x509_raw_privkey_to_gkey (MHD_gnutls_privkey * privkey,
45 const MHD_gnutls_datum_t * raw_key, 47 const MHD_gnutls_datum_t * raw_key,
46 MHD_gnutls_x509_crt_fmt_t type); 48 MHD_gnutls_x509_crt_fmt_t type);
47int MHD__gnutls_x509_privkey_to_gkey (MHD_gnutls_privkey * privkey, 49int MHD__gnutls_x509_privkey_to_gkey (MHD_gnutls_privkey * privkey,
48 MHD_gnutls_x509_privkey_t); 50 MHD_gnutls_x509_privkey_t);