Skip to content

Commit

Permalink
docs: fix wrong commands of enabling SSL/TLS support
Browse files Browse the repository at this point in the history
  • Loading branch information
Risc-lt committed Jan 26, 2025
1 parent 8d8703e commit 272a979
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,13 @@ When enabled, SSL/TLS support is built into extra `libhiredis_ssl.a` and
`libhiredis_ssl.so` static/dynamic libraries. This leaves the original libraries
unaffected so no additional dependencies are introduced.

Run the following commands to build and install hiredis_ssl:
```
$ cmake . -DENABLE_SSL=ON
$ make USE_SSL=1
$ sudo make install
```

### Using it

First, you'll need to make sure you include the SSL header file:
Expand Down

0 comments on commit 272a979

Please sign in to comment.