diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-08-05 14:59:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-08-05 14:59:14 +0000 |
commit | 197eb2b2cb89ae287073a3e0b26f1da3cdcb8a9b (patch) | |
tree | 6b182f756c8ba99d49312bdb6b579ddbcc8c8e19 /src/common/crypto.c | |
parent | ea2aa107a7c71ead281b8ba8a6ab8942b7558cf7 (diff) | |
download | tor-197eb2b2cb89ae287073a3e0b26f1da3cdcb8a9b.tar.gz tor-197eb2b2cb89ae287073a3e0b26f1da3cdcb8a9b.zip |
fix harmless copy-and-paste error
svn:r4718
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 0c681c3751..c826bc1d7c 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1305,7 +1305,7 @@ static void init_dh_param(void) { BN_mod_exp(g_x, dh_param_g, x, dh_param_p, ctx); x_s = BN_bn2hex(x); g_x_s = BN_bn2hex(g_x); - p_x_s = BN_bn2hex(g_x); + p_x_s = BN_bn2hex(p_x); dh_gx_xx[i*3]=x; dh_gx_xx[i*3+1]=g_x; dh_gx_xx[i*3+2]=p_x; |