diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-07-02 18:14:44 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-07-02 18:14:44 +0200 |
commit | b32735e1e275c4a2dbf544c04cdf344181fea555 (patch) | |
tree | d8a4cabb8d3c112b563a2a0226e0d9b7064784a8 | |
parent | be732b5c57fb8477b0795f4f32d566108ad98af1 (diff) | |
download | gnutls-b32735e1e275c4a2dbf544c04cdf344181fea555.tar.gz |
Fix typo that swapped prime/generator in gnutls_dh_params_generate2.
-rw-r--r-- | lib/gnutls_dh_primes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_dh_primes.c b/lib/gnutls_dh_primes.c index 524e48245d..e7a0b9aea2 100644 --- a/lib/gnutls_dh_primes.c +++ b/lib/gnutls_dh_primes.c @@ -191,8 +191,8 @@ gnutls_dh_params_generate2 (gnutls_dh_params_t params, unsigned int bits) return ret; } - params->params[0] = group.g; - params->params[1] = group.p; + params->params[0] = group.p; + params->params[1] = group.g; return 0; } |