Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
4c545ee0
Commit
4c545ee0
authored
Apr 25, 2020
by
Isaac Boukris
Browse files
ITS#9242 - ifdef tls-endpoint code in openssl pre 0.9.8
parent
4cac398b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/tls_o.c
View file @
4c545ee0
...
...
@@ -861,6 +861,7 @@ tlso_session_unique( tls_session *sess, struct berval *buf, int is_server)
static
int
tlso_session_endpoint
(
tls_session
*
sess
,
struct
berval
*
buf
,
int
is_server
)
{
#if OPENSSL_VERSION_NUMBER >= 0x00908000
tlso_session
*
s
=
(
tlso_session
*
)
sess
;
const
EVP_MD
*
md
;
unsigned
int
md_len
;
...
...
@@ -900,6 +901,9 @@ tlso_session_endpoint( tls_session *sess, struct berval *buf, int is_server )
buf
->
bv_len
=
md_len
;
return
md_len
;
#else
return
0
;
#endif
}
static
const
char
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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