From dd274b1c1c167b484bc8f782746a94f03dbb3f5b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 8 Nov 2013 18:59:26 +0000 Subject: [PATCH] Fix for some platforms where "char" is unsigned. --- crypto/ec/ec_pmeth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ec/ec_pmeth.c b/crypto/ec/ec_pmeth.c index e477418559..81ad4d499a 100644 --- a/crypto/ec/ec_pmeth.c +++ b/crypto/ec/ec_pmeth.c @@ -76,7 +76,7 @@ typedef struct /* Duplicate key if custom cofactor needed */ EC_KEY *co_key; /* Cofactor mode */ - char cofactor_mode; + signed char cofactor_mode; /* KDF (if any) to use for ECDH */ char kdf_type; /* Message digest to use for key derivation */ -- GitLab