diff options
author | flywind <xzsflywind@gmail.com> | 2021-02-21 02:27:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 00:27:39 -0800 |
commit | 70ec17eede74f4216aee3b0bfb11e789bcbf0e54 (patch) | |
tree | 5ba8cf3ed9354de319f6a3858bc48788ce635cc6 /lib/wrappers | |
parent | 69a78c9183425458ae7ae275d6bffd2d3f6fd76b (diff) | |
download | Nim-70ec17eede74f4216aee3b0bfb11e789bcbf0e54.tar.gz |
use single backtick (#17133)
Diffstat (limited to 'lib/wrappers')
-rw-r--r-- | lib/wrappers/openssl.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim index 699c57d0f..b3ab0cfc0 100644 --- a/lib/wrappers/openssl.nim +++ b/lib/wrappers/openssl.nim @@ -12,9 +12,9 @@ ## When OpenSSL is dynamically linked, the wrapper provides partial forward and backward ## compatibility for OpenSSL versions above and below 1.1.0 ## -## OpenSSL can also be statically linked using ``--dynlibOverride:ssl`` for OpenSSL >= 1.1.0. +## OpenSSL can also be statically linked using `--dynlibOverride:ssl` for OpenSSL >= 1.1.0. ## If you want to statically link against OpenSSL 1.0.x, you now have to -## define the ``openssl10`` symbol via ``-d:openssl10``. +## define the `openssl10` symbol via `-d:openssl10`. ## ## Build and test examples: ## @@ -586,7 +586,7 @@ proc SSL_CTX_set_tlsext_servername_callback*(ctx: SslCtx, cb: proc(ssl: SslPtr, result = SSL_CTX_callback_ctrl(ctx, SSL_CTRL_SET_TLSEXT_SERVERNAME_CB, cast[PFunction](cb)) proc SSL_CTX_set_tlsext_servername_arg*(ctx: SslCtx, arg: pointer): int = - ## Set the pointer to be used in the callback registered to ``SSL_CTX_set_tlsext_servername_callback``. + ## Set the pointer to be used in the callback registered to `SSL_CTX_set_tlsext_servername_callback`. result = SSL_CTX_ctrl(ctx, SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG, 0, arg) type |