Fix for some platforms where "char" is unsigned.

(cherry picked from commit 08b433540416c5bc9a874ba0343e35ba490c65f1)
This commit is contained in:
Dr. Stephen Henson 2013-11-08 18:59:26 +00:00
parent 60adefa610
commit a257865303

View file

@ -76,7 +76,7 @@ typedef struct
/* Duplicate key if custom cofactor needed */ /* Duplicate key if custom cofactor needed */
EC_KEY *co_key; EC_KEY *co_key;
/* Cofactor mode */ /* Cofactor mode */
char cofactor_mode; signed char cofactor_mode;
/* KDF (if any) to use for ECDH */ /* KDF (if any) to use for ECDH */
char kdf_type; char kdf_type;
/* Message digest to use for key derivation */ /* Message digest to use for key derivation */