From: Nikos Mavrogiannopoulos Date: Mon, 8 Sep 2014 08:34:11 +0000 (+0200) Subject: added comment to clarify check X-Git-Tag: gnutls_3_4_0~970 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46ffcdeffbaaf2cfc7b2aba52e093654b2c43810;p=thirdparty%2Fgnutls.git added comment to clarify check --- diff --git a/lib/nettle/pk.c b/lib/nettle/pk.c index 0bb6a2dbb9..fbc3da1090 100644 --- a/lib/nettle/pk.c +++ b/lib/nettle/pk.c @@ -963,6 +963,7 @@ wrap_nettle_pk_generate_keys(gnutls_pk_algorithm_t algo, if (params->params[DSA_Q] != NULL) have_q = 1; + /* This check is for the case !ENABLE_FIPS140 */ if (algo == GNUTLS_PK_DSA && have_q == 0) return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);