summaryrefslogtreecommitdiff
path: root/libs/libssh2/src/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libssh2/src/crypto.c')
-rw-r--r--libs/libssh2/src/crypto.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/libssh2/src/crypto.c b/libs/libssh2/src/crypto.c
new file mode 100644
index 0000000000..b3b1afcb13
--- /dev/null
+++ b/libs/libssh2/src/crypto.c
@@ -0,0 +1,19 @@
+/* Copyright (C) Viktor Szakats
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#define LIBSSH2_CRYPTO_C
+#include "libssh2_priv.h"
+
+#if defined(LIBSSH2_OPENSSL) || defined(LIBSSH2_WOLFSSL)
+#include "openssl.c"
+#elif defined(LIBSSH2_LIBGCRYPT)
+#include "libgcrypt.c"
+#elif defined(LIBSSH2_MBEDTLS)
+#include "mbedtls.c"
+#elif defined(LIBSSH2_OS400QC3)
+#include "os400qc3.c"
+#elif defined(LIBSSH2_WINCNG)
+#include "wincng.c"
+#endif