Skip to content

Commit

Permalink
Merge pull request #533 from nak3/chacha20-poly1305
Browse files Browse the repository at this point in the history
Allow LibreSSL to use ChaCha20-Poly1305
  • Loading branch information
kazuho committed Aug 1, 2024
2 parents 096fc5c + a8d42c0 commit 325a0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/picotls/openssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extern "C" {
#include <openssl/opensslconf.h>
#include "../picotls.h"

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

0 comments on commit 325a0d2

Please sign in to comment.