1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +03:00

Runtime engine detection with libssh2_crypto_engine() (#643)

File:
version.c, HACKING-CRYPTO, libssh2.h, libssh2_crypto_engine.3, makefile.

Notes:
libssh2_crypto_engine() API to get crypto engine at runtime.

Credit: Bastien Durel
This commit is contained in:
Bastien Durel
2022-01-06 19:06:02 +01:00
committed by GitHub
parent 64a555d6f5
commit e24a4a9d48
6 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,12 @@
.TH libssh2_crypto_engine 3 "22 Nov 2021" "libssh2 1.11" "libssh2 manual"
.SH NAME
- retrieve used crypto engine
.SH SYNOPSIS
#include <libssh2.h>
libssh2_crypto_engine_t
libssh2_crypto_engine();
.SH DESCRIPTION
Returns currently used crypto engine, as en enum value.
.SH AVAILABILITY
Added in libssh2 1.11