From: Dr. Stephen Henson Date: Fri, 8 Nov 2013 18:59:26 +0000 (+0000) Subject: Fix for some platforms where "char" is unsigned. X-Git-Tag: master-post-reformat~1086 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dd274b1c1c167b484bc8f782746a94f03dbb3f5b;p=oweals%2Fopenssl.git Fix for some platforms where "char" is unsigned. --- 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 */