[Pvfs2-cvs] commit by nlmills in pvfs2/src/server: get-cred.sm

CVS commit program cvs at parl.clemson.edu
Thu Dec 4 17:23:01 EST 2008


Update of /anoncvs/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv16526/src/server

Modified Files:
      Tag: cu-security-branch
	get-cred.sm 
Log Message:
bug fixes and error reporting


Index: get-cred.sm
===================================================================
RCS file: /anoncvs/pvfs2/src/server/Attic/get-cred.sm,v
diff -p -u -r1.1.2.5 -r1.1.2.6
--- get-cred.sm	4 Dec 2008 03:18:35 -0000	1.1.2.5
+++ get-cred.sm	4 Dec 2008 22:23:01 -0000	1.1.2.6
@@ -108,6 +108,11 @@ static PINT_sm_action get_cred_verify_ce
     ret = PINT_verify_certificate(s_op->u.getcred.certificate,
                                   s_op->u.getcred.signature,
                                   s_op->u.getcred.sig_size);
+    if (ret < 0)
+    {
+        gossip_debug(GOSSIP_SECURITY_DEBUG, 
+                     "Certificate verification failed\n");
+    }
     
     js_p->error_code = ret;
     return SM_ACTION_COMPLETE;



More information about the Pvfs2-cvs mailing list