From d40f0070ec306f4f432d5bfb21686142ad359703 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 26 Feb 2020 19:52:04 +0100 Subject: [PATCH] Revert "dhm: Remove dependency on TLS" This reverts commit ed16ca7b63a13358d62f1ad6882ec60fd92158e3. --- include/mbedtls/dhm.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/mbedtls/dhm.h b/include/mbedtls/dhm.h index f9561daf2f..9890e0ce58 100644 --- a/include/mbedtls/dhm.h +++ b/include/mbedtls/dhm.h @@ -350,10 +350,11 @@ int mbedtls_dhm_self_test( int verbose ); #endif /** - * RFC 3526, RFC 5114 and RFC 7919 standardize a number of Diffie-Hellman - * groups, some of which are included here for use by Mbed TLS's SSL/TLS module - * and the user's convenience when configuring the Diffie-Hellman parameters by - * hand through Mbed TLS's \c mbedtls_ssl_conf_dh_param. + * RFC 3526, RFC 5114 and RFC 7919 standardize a number of + * Diffie-Hellman groups, some of which are included here + * for use within the SSL/TLS module and the user's convenience + * when configuring the Diffie-Hellman parameters by hand + * through \c mbedtls_ssl_conf_dh_param. * * The following lists the source of the above groups in the standards: * - RFC 5114 section 2.2: 2048-bit MODP Group with 224-bit Prime Order Subgroup