diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-04-30 12:05:11 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-04-30 12:05:11 +0200 |
commit | 190dec7388fb7ff999f6bc50610545f6d76f9400 (patch) | |
tree | 98c90f59b21a8fad70895827be357d45aa9e8d48 | |
parent | 51146e6ee2d7439557f93eb91c9b5e2926b21fa6 (diff) | |
download | gnutls-190dec7388fb7ff999f6bc50610545f6d76f9400.tar.gz |
Fix DSA key generation.
-rw-r--r-- | lib/gnutls_pk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |