From 6061a4f9f64c70c90a3ec957fe70608c43252cde Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Mon, 28 Jan 2013 21:43:56 +0000 Subject: [PATCH] Let the server extract user's principal name. Don't know why it was between /* */ --- emi.canl.canl-c/src/canl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emi.canl.canl-c/src/canl.c b/emi.canl.canl-c/src/canl.c index dac745a..b14cda7 100644 --- a/emi.canl.canl-c/src/canl.c +++ b/emi.canl.canl-c/src/canl.c @@ -354,12 +354,12 @@ canl_io_accept(canl_ctx cc, canl_io_handler io, int new_fd, goto end; /*TODO Not mandatory peer certificate for now*/ -/* if (peer) { + if (peer) { err = mech->get_peer(glb_cc, io_cc, conn_ctx, peer); if (err) goto end; } -*/ + io_cc->conn_ctx = conn_ctx; io_cc->oid = GSS_C_NO_OID; -- 1.8.2.3