Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jørn Åne authored and GitHub committed Sep 11, 2019
1 parent d391d28 commit 14a0eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ void *dtlslistener(void *arg) {
BIO_set_fd(SSL_get_rbio(conf->tlsconf->dtlssslprep), s, BIO_NOCLOSE);
}

#if OPENSSL_VERSION_NUMBER < 0x10100000 || LIBRESSL_VERSION_NUMBER
#if (OPENSSL_VERSION_NUMBER < 0x10100000) || defined(LIBRESSL_VERSION_NUMBER)
if(DTLSv1_listen(conf->tlsconf->dtlssslprep, &from) > 0) {
#else
if(DTLSv1_listen(conf->tlsconf->dtlssslprep, (BIO_ADDR *)&from) > 0) {
Expand Down

0 comments on commit 14a0eb7

Please sign in to comment.