X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ck_ssl.c;h=428fb7ca6f989ee74a6990156279289de03ce716;hb=96029a590041202f68c5677067dbc3f8e06e1f2c;hp=561e0561a07171ed19b2811a1bee5cc934229849;hpb=31e271107096d1ffa97b7d0c15222b8bd5e69f74;p=ckermit.git diff --git a/ck_ssl.c b/ck_ssl.c index 561e056..428fb7c 100644 --- a/ck_ssl.c +++ b/ck_ssl.c @@ -1,4 +1,4 @@ -char *cksslv = "SSL/TLS support, 9.0.227, 04 Aug 2020"; +char *cksslv = "SSL/TLS support, 9.0.227, 04 Aug 2010"; /* C K _ S S L . C -- OpenSSL Interface for C-Kermit @@ -2457,7 +2457,7 @@ ssl_get_dNSName(ssl) SSL * ssl; if (gen->type == GEN_DNS) { if (!gen->d.ia5 || !gen->d.ia5->length) break; - if (strlen(gen->d.ia5->data) != gen->d.ia5->length) { + if (strlen((char *)gen->d.ia5->data) != gen->d.ia5->length) { /* Ignoring IA5String containing null character */ continue; } @@ -2770,7 +2770,7 @@ tls_get_SAN_objs(SSL * ssl, int type) if ((gen->type | V_ASN1_CONTEXT_SPECIFIC) == (type | V_ASN1_CONTEXT_SPECIFIC)) { if (!gen->d.ia5 || !gen->d.ia5->length) break; - if (strlen(gen->d.ia5->data) != gen->d.ia5->length) { + if (strlen((char *)gen->d.ia5->data) != gen->d.ia5->length) { /* Ignoring IA5String containing null character */ continue; }