Generate random key for HelloVerifyRequest
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h
index 6e40c32..05bb3de 100644
--- a/include/polarssl/ssl.h
+++ b/include/polarssl/ssl.h
@@ -881,6 +881,7 @@
#if defined(POLARSSL_SSL_PROTO_DTLS) && defined(POLARSSL_SSL_SRV_C)
unsigned char *cli_id; /*!< transport-level ID of the client */
size_t cli_id_len; /*!< length of cli_id */
+ md_context_t hvr_hmac_ctx; /*!< HMAC data for HelloVerifyRequest */
#endif
/*
@@ -1091,6 +1092,9 @@
int ssl_set_client_transport_id( ssl_context *ssl,
const unsigned char *info,
size_t ilen );
+
+/* Temporary */
+int ssl_setup_hvr_key( ssl_context *ssl );
#endif /* POLARSSL_SSL_PROTO_DTLS && POLARSSL_SSL_SRV_C */
/**