From: Marcel Poul Date: Tue, 17 Jan 2012 13:49:57 +0000 (+0000) Subject: typo X-Git-Tag: emi-canl-c_R_1_0_0_0~60 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=344a4ca990c5d43d656e7844d293be56fb0c6c6b;p=jra1mw.git typo --- diff --git a/emi.canl.canl-c/src/canl_ssl.c b/emi.canl.canl-c/src/canl_ssl.c index fc5f41d..16d30f3 100644 --- a/emi.canl.canl-c/src/canl_ssl.c +++ b/emi.canl.canl-c/src/canl_ssl.c @@ -294,8 +294,8 @@ static int check_hostname_cert(glb_ctx *cc, io_handler *io, const char *host) } } } + /*else hostname has to correspond to common name*/ else { - /*else hostname has to correspond to common name*/ sn = X509_get_subject_name(serv_cert); i = X509_NAME_get_index_by_NID(sn, NID_commonName, -1); if (i != -1) {