Store a MODP group we use for each TLS suite

This commit is contained in:
Martin Willi
2010-09-02 19:33:08 +02:00
parent 08d8b9405b
commit 35d9c15d5e
2 changed files with 34 additions and 12 deletions
+7
View File
@@ -328,6 +328,13 @@ struct tls_crypto_t {
tls_cipher_suite_t (*select_cipher_suite)(tls_crypto_t *this,
tls_cipher_suite_t *suites, int count);
/**
* Get the Diffie-Hellman group to use, if any.
*
* @return Diffie Hellman group, ord MODP_NONE
*/
diffie_hellman_group_t (*get_dh_group)(tls_crypto_t *this);
/**
* Write the list of supported hash/sig algorithms to writer.
*