typo
authorMarcel Poul <marcel.poul@cern.ch>
Tue, 17 Jan 2012 13:49:57 +0000 (13:49 +0000)
committerMarcel Poul <marcel.poul@cern.ch>
Tue, 17 Jan 2012 13:49:57 +0000 (13:49 +0000)
emi.canl.canl-c/src/canl_ssl.c

index fc5f41d..16d30f3 100644 (file)
@@ -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) {