Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Aug 1, 2024
1 parent 945d4e4 commit 2a6925b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/picotls/openssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ extern "C" {
#include <openssl/opensslconf.h>
#include "../picotls.h"

#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) && \
!defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_NO_CHACHA) && \
!defined(OPENSSL_NO_POLY1305)
#define PTLS_OPENSSL_HAVE_CHACHA20_POLY1305 1
#else
#define PTLS_OPENSSL_HAVE_CHACHA20_POLY1305 0
#endif

#if OPENSSL_VERSION_NUMBER >= 0x10100010L && !defined(LIBRESSL_VERSION_NUMBER) && \
!defined(OPENSSL_NO_ASYNC)
#if OPENSSL_VERSION_NUMBER >= 0x10100010L && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_NO_ASYNC)
#include <openssl/async.h>
#define PTLS_OPENSSL_HAVE_ASYNC 1
#else
Expand Down

0 comments on commit 2a6925b

Please sign in to comment.