diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-11-16 09:21:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-11-16 09:21:40 +0000 |
commit | 83a212aac273569eba363445e02e9989a0761f70 (patch) | |
tree | edb9e22621d0f678b028c232d40d925d480fa81f | |
parent | 7e576bb4fa4bd7add39dba8cc3219784d6b6ab1a (diff) | |
download | libmicrohttpd-83a212aac273569eba363445e02e9989a0761f70.tar.gz libmicrohttpd-83a212aac273569eba363445e02e9989a0761f70.zip |
better
-rw-r--r-- | src/daemon/https/tls/auth_cert.c | 3 | ||||
-rw-r--r-- | src/daemon/https/tls/gnutls_sig.c | 2 | ||||
-rw-r--r-- | src/daemon/https/tls/gnutls_sig.h | 4 |
3 files changed, 2 insertions, 7 deletions
diff --git a/src/daemon/https/tls/auth_cert.c b/src/daemon/https/tls/auth_cert.c index 7b04e9d4..3631e291 100644 --- a/src/daemon/https/tls/auth_cert.c +++ b/src/daemon/https/tls/auth_cert.c | |||
@@ -550,8 +550,7 @@ cleanup: | |||
550 | 550 | ||
551 | /* Generate client certificate | 551 | /* Generate client certificate |
552 | */ | 552 | */ |
553 | 553 | static int | |
554 | int | ||
555 | MHD_gtls_gen_x509_crt (MHD_gtls_session_t session, opaque ** data) | 554 | MHD_gtls_gen_x509_crt (MHD_gtls_session_t session, opaque ** data) |
556 | { | 555 | { |
557 | int ret, i; | 556 | int ret, i; |
diff --git a/src/daemon/https/tls/gnutls_sig.c b/src/daemon/https/tls/gnutls_sig.c index afa7c8e1..ec757999 100644 --- a/src/daemon/https/tls/gnutls_sig.c +++ b/src/daemon/https/tls/gnutls_sig.c | |||
@@ -206,7 +206,7 @@ MHD_gtls_tls_sign_params (MHD_gtls_session_t session, | |||
206 | /* This will create a PKCS1 or DSA signature, using the given parameters, and the | 206 | /* This will create a PKCS1 or DSA signature, using the given parameters, and the |
207 | * given data. The output will be allocated and be put in signature. | 207 | * given data. The output will be allocated and be put in signature. |
208 | */ | 208 | */ |
209 | int | 209 | static int |
210 | MHD_gtls_sign (enum MHD_GNUTLS_PublicKeyAlgorithm algo, | 210 | MHD_gtls_sign (enum MHD_GNUTLS_PublicKeyAlgorithm algo, |
211 | mpi_t * params, | 211 | mpi_t * params, |
212 | int params_size, | 212 | int params_size, |
diff --git a/src/daemon/https/tls/gnutls_sig.h b/src/daemon/https/tls/gnutls_sig.h index 19793020..020ef489 100644 --- a/src/daemon/https/tls/gnutls_sig.h +++ b/src/daemon/https/tls/gnutls_sig.h | |||
@@ -45,9 +45,5 @@ int MHD_gtls_verify_sig_params (MHD_gtls_session_t session, | |||
45 | const MHD_gnutls_datum_t * params, | 45 | const MHD_gnutls_datum_t * params, |
46 | MHD_gnutls_datum_t * signature); | 46 | MHD_gnutls_datum_t * signature); |
47 | 47 | ||
48 | int MHD_gtls_sign (enum MHD_GNUTLS_PublicKeyAlgorithm algo, | ||
49 | mpi_t * params, int params_size, | ||
50 | const MHD_gnutls_datum_t * data, | ||
51 | MHD_gnutls_datum_t * signature); | ||
52 | 48 | ||
53 | #endif | 49 | #endif |