Let the server extract user's principal name.
authorMarcel Poul <marcel.poul@cern.ch>
Mon, 28 Jan 2013 21:43:56 +0000 (21:43 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 31 Jan 2013 20:42:42 +0000 (21:42 +0100)
Don't know why it was between /* */

emi.canl.canl-c/src/canl.c

index dac745a..b14cda7 100644 (file)
@@ -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;