Fixed encoding of TLS extensions (elliptic_curves and signature_algorithms)

This commit is contained in:
Tobias Brunner
2012-11-28 10:20:14 +01:00
parent ac6dd7d404
commit 07f826af67
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1110,6 +1110,7 @@ METHOD(tls_crypto_t, get_signature_algorithms, void,
}
enumerator->destroy(enumerator);
supported->wrap16(supported);
writer->write_data16(writer, supported->get_buf(supported));
supported->destroy(supported);
}