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-11 22:18:07 +0000 |
commit | a257865303ef652cfbb448e1de349dc9d64b17d6 (patch) | |
tree | 5cd8af2d95217ce996d5f4f9717a9e5c8c4c37e5 | |
parent | 60adefa61025ffd7d56cf7ff8491008f783282bf (diff) |
Fix for some platforms where "char" is unsigned.
(cherry picked from commit 08b433540416c5bc9a874ba0343e35ba490c65f1)
-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 */ |