소스 검색

oops, that array got bigger

svn:r4708
Nick Mathewson 20 년 전
부모
커밋
3fa821d911
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/crypto.c

+ 1 - 1
src/common/crypto.c

@@ -1295,7 +1295,7 @@ static void init_dh_param(void) {
   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);