diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-11-08 18:59:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-11-09 15:09:23 +0000 |
commit | dd274b1c1c167b484bc8f782746a94f03dbb3f5b (patch) | |
tree | 9bc4dfab5102bf6c7f71da9420a50950fd399d3d /crypto/ec/ec_pmeth.c | |
parent | 9c75461befd03a50b2ca158323eef58d6be75864 (diff) |
Fix for some platforms where "char" is unsigned.
Diffstat (limited to 'crypto/ec/ec_pmeth.c')
-rw-r--r-- | crypto/ec/ec_pmeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |