Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
ff835e23
Commit
ff835e23
authored
Jun 02, 2015
by
Nick Mathewson
🎨
Browse files
Use autoconf, not OPENSSL_VERSION_NUMBER, to detect SSL_CIPHER_find
Repairs build with libressl
parent
f90a704f
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
ff835e23
...
...
@@ -639,6 +639,7 @@ AC_CHECK_FUNCS([ \
SSL_get_server_random \
SSL_get_client_ciphers \
SSL_get_client_random \
SSL_CIPHER_find \
])
LIBS="$save_LIBS"
LDFLAGS="$save_LDFLAGS"
...
...
src/common/tortls.c
View file @
ff835e23
...
...
@@ -1487,7 +1487,7 @@ static int
find_cipher_by_id
(
const
SSL
*
ssl
,
const
SSL_METHOD
*
m
,
uint16_t
cipher
)
{
const
SSL_CIPHER
*
c
;
#if
OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,0,2)
#if
def HAVE_SSL_CIPHER_FIND
{
unsigned
char
cipherid
[
3
];
tor_assert
(
ssl
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment