git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a31a7c
)
typo
author
Marcel Poul
<marcel.poul@cern.ch>
Tue, 17 Jan 2012 13:49:57 +0000
(13:49 +0000)
committer
Marcel Poul
<marcel.poul@cern.ch>
Tue, 17 Jan 2012 13:49:57 +0000
(13:49 +0000)
emi.canl.canl-c/src/canl_ssl.c
patch
|
blob
|
blame
|
history
diff --git
a/emi.canl.canl-c/src/canl_ssl.c
b/emi.canl.canl-c/src/canl_ssl.c
index
fc5f41d
..
16d30f3
100644
(file)
--- 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) {