提交 dd274b1c 编写于 作者: D Dr. Stephen Henson

Fix for some platforms where "char" is unsigned.

上级 9c75461b
...@@ -76,7 +76,7 @@ typedef struct ...@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册