Преглед на файлове

add a bn.h include to crypto_dh.c

Nick Mathewson преди 7 години
родител
ревизия
599b53f046
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/common/crypto_dh.c

+ 2 - 1
src/common/crypto_dh.c

@@ -21,6 +21,8 @@ DISABLE_GCC_WARNING(redundant-decls)
 
 ENABLE_GCC_WARNING(redundant-decls)
 
+#include <openssl/bn.h>
+
 #include "common/torlog.h"
 
 /** A structure to hold the first half (x, g^x) of a Diffie-Hellman handshake
@@ -506,4 +508,3 @@ crypto_dh_free_all(void)
 
   dh_param_p = dh_param_p_tls = dh_param_g = NULL;
 }
-