From 1e57d61b01fc415b57a7348ed6aa6e32760f0758 Mon Sep 17 00:00:00 2001 From: Will Cosgrove Date: Fri, 17 Apr 2020 15:28:20 -0700 Subject: [PATCH] os400qc3.h: define EC types to fix building #426 (#462) File: os400qc3.h Notes: define missing EC types which prevents building Credit: hjindra --- src/os400qc3.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/os400qc3.h b/src/os400qc3.h index 79bbb96e..83864297 100644 --- a/src/os400qc3.h +++ b/src/os400qc3.h @@ -176,12 +176,20 @@ #define LIBSSH2_RSA 1 #define LIBSSH2_DSA 0 +#define LIBSSH2_ECDSA 0 +#define LIBSSH2_ED25519 0 #define MD5_DIGEST_LENGTH 16 #define SHA_DIGEST_LENGTH 20 #define SHA256_DIGEST_LENGTH 32 #define SHA512_DIGEST_LENGTH 64 +#define EC_MAX_POINT_LEN ((528 * 2 / 8) + 1) + +#if LIBSSH2_ECDSA +#else +#define _libssh2_ec_key void +#endif /******************************************************************* *