h2o: add package

H2O is a new generation HTTP server that provides quicker response to users
  with less CPU utilization when compared to older generation of web servers.
  Designed from ground-up, the server takes full advantage of HTTP/2 features
  including prioritized content serving and server push, promising outstanding
  experience to the visitors of your web site.

Signed-off-by: James Taylor <james@jtaylor.id.au>
This commit is contained in:
James Taylor
2019-12-09 12:49:19 +11:00
parent da867f65cb
commit c9fa74bf43
4 changed files with 102 additions and 0 deletions
@@ -0,0 +1,17 @@
--- a/deps/picotls/include/picotls/openssl.h
+++ b/deps/picotls/include/picotls/openssl.h
@@ -26,11 +26,14 @@
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/x509.h>
+#include <openssl/opensslconf.h>
#include "../picotls.h"
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
+#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
#define PTLS_OPENSSL_HAVE_CHACHA20_POLY1305
#endif
+#endif
extern ptls_key_exchange_algorithm_t ptls_openssl_secp256r1;
extern ptls_key_exchange_algorithm_t *ptls_openssl_key_exchanges[];