mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
cleaner fix for bugprone-signed-char-misuse first addressed in 38c057a084
.
This commit is contained in:
2
src/pk.c
2
src/pk.c
@ -12659,7 +12659,7 @@ point_conversion_form_t wolfSSL_EC_KEY_get_conv_form(const WOLFSSL_EC_KEY* key)
|
|||||||
int ret = -1;
|
int ret = -1;
|
||||||
|
|
||||||
if (key != NULL) {
|
if (key != NULL) {
|
||||||
ret = (int)(unsigned char)key->form;
|
ret = key->form;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -116,7 +116,7 @@ struct WOLFSSL_EC_KEY {
|
|||||||
|
|
||||||
void* internal; /* our ECC Key */
|
void* internal; /* our ECC Key */
|
||||||
void* heap;
|
void* heap;
|
||||||
char form; /* Either POINT_CONVERSION_UNCOMPRESSED or
|
unsigned char form; /* Either POINT_CONVERSION_UNCOMPRESSED or
|
||||||
* POINT_CONVERSION_COMPRESSED */
|
* POINT_CONVERSION_COMPRESSED */
|
||||||
word16 pkcs8HeaderSz;
|
word16 pkcs8HeaderSz;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user