mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 05:43:52 -07:00
Merge pull request #82 from tux-mind/patch-1
use static version of the ssl library
This commit is contained in:
commit
fe116d716c
2 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
LOCAL_PATH:= $(call my-dir)
|
LOCAL_PATH:= $(call my-dir)
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_CFLAGS:= -O3 -DLIBOPENSSL -DLIBFIREBIRD -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE \
|
LOCAL_CFLAGS:= -O3 -DLIBOPENSSL -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE \
|
||||||
-DLIBNCP -DLIBPOSTGRES -DLIBSVN -DLIBSSH -DNO_RINDEX \
|
-DLIBNCP -DLIBPOSTGRES -DLIBSVN -DLIBSSH -DNO_RINDEX \
|
||||||
-DHAVE_MATH_H -DOPENSSL_NO_DEPRECATED -DNO_RSA_LEGACY \
|
-DHAVE_MATH_H -DOPENSSL_NO_DEPRECATED -DNO_RSA_LEGACY \
|
||||||
-fdata-sections -ffunction-sections
|
-fdata-sections -ffunction-sections
|
||||||
|
@ -15,7 +15,6 @@ LOCAL_C_INCLUDES:= \
|
||||||
external/libidn/lib\
|
external/libidn/lib\
|
||||||
external/subversion/subversion/include\
|
external/subversion/subversion/include\
|
||||||
external/apr/include\
|
external/apr/include\
|
||||||
external/firebird/include\
|
|
||||||
external/libncp/include\
|
external/libncp/include\
|
||||||
external/libpcre
|
external/libpcre
|
||||||
|
|
||||||
|
@ -78,7 +77,6 @@ LOCAL_SRC_FILES:= \
|
||||||
sasl.c
|
sasl.c
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libfbclient \
|
|
||||||
libidn \
|
libidn \
|
||||||
libncp \
|
libncp \
|
||||||
libpcre \
|
libpcre \
|
||||||
|
@ -91,8 +89,8 @@ LOCAL_STATIC_LIBRARIES := \
|
||||||
libaprutil-1 \
|
libaprutil-1 \
|
||||||
libiconv\
|
libiconv\
|
||||||
libneon\
|
libneon\
|
||||||
libcrypto_static\
|
libssl_static\
|
||||||
libssl
|
libcrypto_static
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libsqlite\
|
libsqlite\
|
||||||
|
|
|
@ -896,7 +896,7 @@ SSL_CERT *ssl_cert_read(uint8 * data, uint32 len) {
|
||||||
return d2i_X509(NULL, (D2I_X509_CONST unsigned char **) &data, len);
|
return d2i_X509(NULL, (D2I_X509_CONST unsigned char **) &data, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ssl_cert_free(SSL_CERT * cert) {
|
static void ssl_cert_free(SSL_CERT * cert) {
|
||||||
X509_free(cert);
|
X509_free(cert);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue