summaryrefslogtreecommitdiffstats
path: root/web/server/h2o/libh2o/deps/picotls/WindowsPort.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--web/server/h2o/libh2o/deps/picotls/WindowsPort.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/web/server/h2o/libh2o/deps/picotls/WindowsPort.md b/web/server/h2o/libh2o/deps/picotls/WindowsPort.md
new file mode 100644
index 00000000..b2989e3d
--- /dev/null
+++ b/web/server/h2o/libh2o/deps/picotls/WindowsPort.md
@@ -0,0 +1,34 @@
+Compiling PicoTLS with Visual Studio 2017
+
+The source contains a Visual Studio 2017 solution (picotls/picotlsvs/picotlsvs.sln)
+which itself contains 5 projects:
+
+* Three libraries, picotls.lib and its dependencies cifra.lib and uecc.lib;
+
+* A test project, testopenssl.exe, which will run on a console and
+ execute the OpenSSL tests;
+
+* And, an example project, picotlsvs.exe, which will perform a TLS exchange
+ in memory, and demonstrate how to use PicoTLS in windows.
+
+The code has a dependency on OpenSSL. When building the 32 bit projects (WIN32) it
+expects to find:
+
+* OpenSSL header files under $(OPENSSLDIR)\include
+
+* OpenSSL library libcrypto.lib under $(OPENSSLDIR)
+
+When building the 64 bits projects (X64), it expects to find:
+
+* OpenSSL header files under $(OPENSSL64DIR)\include
+
+* OpenSSL library libcrypto.lib under $(OPENSSL64DIR)
+
+You will need also to copy libcrypto.dll to the library that contains your
+executable, or to otherwise register that library. Be sure to copy the 32 bit
+library or 64 bit library, depending on which type of project you build.
+
+Only two configurations are tested: "X86 Debug" and "X86 Release". The X64 configurations
+will compile, but are not tested yet.
+
+Feel free to provide feedback and contribute.