From 190dec7388fb7ff999f6bc50610545f6d76f9400 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 30 Apr 2009 12:05:11 +0200 Subject: Fix DSA key generation. --- lib/gnutls_pk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c index c6a27a503b..fc1b7383ba 100644 --- a/lib/gnutls_pk.c +++ b/lib/gnutls_pk.c @@ -528,7 +528,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) { -- cgit v1.2.1