[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] fix harmless copy-and-paste error



Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv28971/src/common

Modified Files:
	crypto.c 
Log Message:
fix harmless copy-and-paste error

Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- crypto.c	5 Aug 2005 14:20:38 -0000	1.145
+++ crypto.c	5 Aug 2005 14:59:14 -0000	1.146
@@ -1305,7 +1305,7 @@
     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;