Import OpenSSL-1.0.0g.
[dragonfly.git] / crypto / openssl / apps / s_client.c
index 34ad2ce..53be0f8 100644 (file)
@@ -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;