mesalink | OpenSSL compatibility layer for the Rust SSL/TLS stack | TLS library
kandi X-RAY | mesalink Summary
kandi X-RAY | mesalink Summary
OpenSSL compatibility layer for the Rust SSL/TLS stack
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mesalink
mesalink Key Features
mesalink Examples and Code Snippets
Community Discussions
Trending Discussions on mesalink
QUESTION
I need to use libcurl with https in my project, so I've built zlib, openssl and libcurl (with mingw32-make mingw32-ssl-zlib
) successfully. But after I copied include
libcurl.a
libcurldll.a
libcurl.dll
to my project folder, sent a GET
request to https://www.google.com
it failed with error Unsupported protocol
My OPENSSL_PATH
and ZLIB_PATH
in my lib/Makefile.m32
src/Makefile.m32
are:
ZLIB_PATH = ../../zlib-1.2.8
OPENSSL_PATH = /c/OpenSSL
and the build log:
...ANSWER
Answered 2021-Jan-22 at 09:51Turns out I have to compile all source in the same fashion I use in Linux: ./configure && make && make install
here are the commands I use:
- zlib:
./configure
make && make install
- openssl:
./configure --prefix=$PWD/dist no-idea no-mdc2 no-rc5 shared mingw
(ormingw64
for 64 bits)make && make install
- libcurl:
./configure --prefix=$PWD/dist --with-zlib=PATH_TO_COMPILED_ZLIB --with-ssl=PATH_TO_COMPILED_OPENSSL --host=i686-w64-mingw32
(orx86_64-w64-mingw32
for 64 bits)make && make install
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mesalink
Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page