1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: update ssl section in the main README.md (#16273)

This commit is contained in:
JalonSolov 2022-11-01 01:28:39 -04:00 committed by GitHub
parent 135b1ccb14
commit 47a10f3181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,8 +198,12 @@ NB: In order to build Tetris or 2048 (or anything else using `sokol` or `gg` gr
on some Linux systems, you need to install `libxi-dev` and `libxcursor-dev` .
## V net.http, net.websocket, `v install`
If you plan to use the net.http module, or the net.websocket module, you also need to install
OpenSSL on non-Windows systems:
The net.http module, the net.websocket module, and the `v install` command may all use SSL.
V comes with a version of mbedtls, which should work on all systems. If you find a need to
use OpenSSL instead, you will need to make sure that it is installed on your system, then
use the `-d use_openssl` switch when you compile.
To install OpenSSL on non-Windows systems:
```bash
macOS:
@ -215,6 +219,9 @@ Fedora:
sudo dnf install openssl-devel
```
On Windows, OpenSSL is simply hard to get working correctly. The instructions
[here](https://tecadmin.net/install-openssl-on-windows/) may (or may not) help.
## V sync
V's `sync` module and channel implementation uses libatomic.
It is most likely already installed on your system, but if not,