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