From: Simon Josefsson Date: Thu, 30 Apr 2009 10:05:11 +0000 (+0200) Subject: Fix DSA key generation. X-Git-Tag: gnutls_2_7_8~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d96404c4b967cabc3f54b9981ae4fca0d3dab444;p=thirdparty%2Fgnutls.git Fix DSA key generation. --- diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c index 1015c3aca8..a08349bb49 100644 --- a/lib/gnutls_pk.c +++ b/lib/gnutls_pk.c @@ -529,7 +529,7 @@ _generate_params (int algo, bigint_t * resarr, unsigned int *resarr_len, int ret; unsigned int i; - ret = _gnutls_pk_ops.generate (GNUTLS_PK_RSA, bits, ¶ms); + ret = _gnutls_pk_ops.generate (algo, bits, ¶ms); if (ret < 0) {