[or-cvs] oops, that array got bigger

Nick Mathewson nickm at seul.org
Thu Aug 4 23:18:53 UTC 2005


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

Modified Files:
	crypto.c 
Log Message:
oops, that array got bigger

Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- crypto.c	4 Aug 2005 23:14:42 -0000	1.143
+++ crypto.c	4 Aug 2005 23:18:51 -0000	1.144
@@ -1295,7 +1295,7 @@
   dh_param_g = g;
 
   ctx = BN_CTX_new();
-  for (i=0; i<4; ++i) {
+  for (i=0; i<5; ++i) {
     BIGNUM *x = BN_new(), *g_x = BN_new();
     char *x_s, *g_x_s;
     BN_copy(x, dh_param_p);



More information about the tor-commits mailing list