Fix for some platforms where "char" is unsigned.

This commit is contained in:
Dr. Stephen Henson 2013-11-08 18:59:26 +00:00
parent 9c75461bef
commit dd274b1c1c

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 */