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:
5649d4b
)
initialize all the authN mechs available.
author
Daniel Kouřil
<kouril@ics.muni.cz>
Tue, 17 Jan 2012 20:11:30 +0000
(20:11 +0000)
committer
Daniel Kouřil
<kouril@ics.muni.cz>
Tue, 17 Jan 2012 20:11:30 +0000
(20:11 +0000)
emi.canl.canl-c/src/canl.c
patch
|
blob
|
blame
|
history
diff --git
a/emi.canl.canl-c/src/canl.c
b/emi.canl.canl-c/src/canl.c
index
60cd888
..
cd08f39
100644
(file)
--- a/
emi.canl.canl-c/src/canl.c
+++ b/
emi.canl.canl-c/src/canl.c
@@
-12,13
+12,15
@@
static int try_connect(glb_ctx *glb_cc, io_handler *io_cc, char *addr,
canl_ctx canl_create_ctx()
{
glb_ctx *ctx = NULL;
+ int i;
/*create context*/
ctx = (glb_ctx *) calloc(1, sizeof(*ctx));
if (!ctx)
return NULL;
- ssl_initialize();
+ for (i = 0; i < sizeof(mechs)/sizeof(mechs[0]); i++)
+ mechs[i]->initialize(&mechs[i]->global_context);
return ctx;
}