瀏覽代碼

Merge branch 'bug23783' into maint-0.3.2

Nick Mathewson 7 年之前
父節點
當前提交
e2d8300c10
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. 5 0
      changes/bug23783
  2. 1 1
      configure.ac

+ 5 - 0
changes/bug23783

@@ -0,0 +1,5 @@
+  o Minor bugfixes (compilation, windows):
+    - When detecting OpenSSL on Windows from our configure script, make sure
+      to try linking with the ws2_32 library. Fixes bug 23783; bugfix on
+      0.3.2.2-alpha.
+

+ 1 - 1
configure.ac

@@ -724,7 +724,7 @@ AC_ARG_WITH(ssl-dir,
   ])
 
 AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1])
-TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI],
+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32],
     [#include <openssl/ssl.h>],
     [struct ssl_method_st; const struct ssl_method_st *TLSv1_1_method(void);],
     [TLSv1_1_method();], [],