diff options
author | lv-426 <oxcafebaby@yahoo.com> | 2008-07-07 02:38:41 +0000 |
---|---|---|
committer | lv-426 <oxcafebaby@yahoo.com> | 2008-07-07 02:38:41 +0000 |
commit | b9f09651e6217396171d0ee25eb3f1a5087a3ad6 (patch) | |
tree | 34e6ee9fe24d7a2d3c68e5931a15626c72d150b4 /src/daemon/https/tls/gnutls_session_pack.c | |
parent | eb391a612d2c1a3bea1cbfecfa008079c8a6320c (diff) | |
download | libmicrohttpd-b9f09651e6217396171d0ee25eb3f1a5087a3ad6.tar.gz libmicrohttpd-b9f09651e6217396171d0ee25eb3f1a5087a3ad6.zip |
migrated code to connection_https
fixed gcrypt lib initialization to support mt
removed some gnutls psk code
added CIPHER_ALGORITHM & KX_PRIORITY options
added certificate loading test
added TLS GET test
Diffstat (limited to 'src/daemon/https/tls/gnutls_session_pack.c')
-rw-r--r-- | src/daemon/https/tls/gnutls_session_pack.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/daemon/https/tls/gnutls_session_pack.c b/src/daemon/https/tls/gnutls_session_pack.c index f18fe97a..c05e27cb 100644 --- a/src/daemon/https/tls/gnutls_session_pack.c +++ b/src/daemon/https/tls/gnutls_session_pack.c | |||
@@ -49,21 +49,6 @@ static int unpack_certificate_auth_info (gnutls_session_t, | |||
49 | const gnutls_datum_t * | 49 | const gnutls_datum_t * |
50 | packed_session); | 50 | packed_session); |
51 | 51 | ||
52 | static int unpack_srp_auth_info (gnutls_session_t session, | ||
53 | const gnutls_datum_t * packed_session); | ||
54 | static int pack_srp_auth_info (gnutls_session_t session, | ||
55 | gnutls_datum_t * packed_session); | ||
56 | |||
57 | static int unpack_psk_auth_info (gnutls_session_t session, | ||
58 | const gnutls_datum_t * packed_session); | ||
59 | static int pack_psk_auth_info (gnutls_session_t session, | ||
60 | gnutls_datum_t * packed_session); | ||
61 | |||
62 | static int unpack_anon_auth_info (gnutls_session_t session, | ||
63 | const gnutls_datum_t * packed_session); | ||
64 | static int pack_anon_auth_info (gnutls_session_t session, | ||
65 | gnutls_datum_t * packed_session); | ||
66 | |||
67 | static int unpack_security_parameters (gnutls_session_t session, | 52 | static int unpack_security_parameters (gnutls_session_t session, |
68 | const gnutls_datum_t * packed_session); | 53 | const gnutls_datum_t * packed_session); |
69 | static int pack_security_parameters (gnutls_session_t session, | 54 | static int pack_security_parameters (gnutls_session_t session, |
@@ -230,7 +215,7 @@ _gnutls_session_unpack (gnutls_session_t session, | |||
230 | } | 215 | } |
231 | 216 | ||
232 | 217 | ||
233 | /* Format: | 218 | /* Format: |
234 | * 1 byte the credentials type | 219 | * 1 byte the credentials type |
235 | * 4 bytes the size of the whole structure | 220 | * 4 bytes the size of the whole structure |
236 | * DH stuff | 221 | * DH stuff |