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

[or-cvs] oops, that array got bigger



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);