diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-11-28 10:18:28 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-11-28 10:20:14 +0100 |
commit | 07f826af673d492ee08f7b3af892242a1b122c3e (patch) | |
tree | 56093f447b1bffb9e4d2b8cc44545784bb72cba8 /src/libtls/tls_peer.c | |
parent | ac6dd7d4040687e89fde1859ce0eee53fa01ba87 (diff) | |
download | strongswan-07f826af673d492ee08f7b3af892242a1b122c3e.tar.bz2 strongswan-07f826af673d492ee08f7b3af892242a1b122c3e.tar.xz |
Fixed encoding of TLS extensions (elliptic_curves and signature_algorithms)
Diffstat (limited to 'src/libtls/tls_peer.c')
-rw-r--r-- | src/libtls/tls_peer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libtls/tls_peer.c b/src/libtls/tls_peer.c index e9f967e84..622df4035 100644 --- a/src/libtls/tls_peer.c +++ b/src/libtls/tls_peer.c @@ -760,6 +760,7 @@ static status_t send_client_hello(private_tls_peer_t *this, enumerator->destroy(enumerator); if (curves) { + curves->wrap16(curves); extensions->write_data16(extensions, curves->get_buf(curves)); curves->destroy(curves); |