aboutsummaryrefslogtreecommitdiff
path: root/openssl/apps/s_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/apps/s_client.c')
-rw-r--r--openssl/apps/s_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/apps/s_client.c b/openssl/apps/s_client.c
index 34ad2cec7..53be0f8f8 100644
--- a/openssl/apps/s_client.c
+++ b/openssl/apps/s_client.c
@@ -581,7 +581,7 @@ int MAIN(int argc, char **argv)
psk_key=*(++argv);
for (j = 0; j < strlen(psk_key); j++)
{
- if (isxdigit((int)psk_key[j]))
+ if (isxdigit((unsigned char)psk_key[j]))
continue;
BIO_printf(bio_err,"Not a hex number '%s'\n",*argv);
goto bad;