summaryrefslogtreecommitdiff
path: root/lib/x509/dsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/dsa.c')
-rw-r--r--lib/x509/dsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/dsa.c b/lib/x509/dsa.c
index 46559746e1..5d46c26cac 100644
--- a/lib/x509/dsa.c
+++ b/lib/x509/dsa.c
@@ -39,7 +39,7 @@ _gnutls_dsa_generate_params (mpi_t * resarr, int *resarr_len, int bits)
int ret;
gcry_sexp_t parms, key, list;
- if (bits < 512 || bits > 1024)
+ if (bits < 512)
{
gnutls_assert ();
return GNUTLS_E_INVALID_REQUEST;