[Pvfs2-cvs] commit by dbonnie in pvfs2/src/common/security:
pint-security.c
CVS commit program
cvs at parl.clemson.edu
Tue May 20 16:40:10 EDT 2008
Update of /anoncvs/pvfs2/src/common/security
In directory parlweb1:/tmp/cvs-serv1384/src/common/security
Modified Files:
Tag: cu-security-branch
pint-security.c
Log Message:
Expanded error reporting on missing key.
Index: pint-security.c
===================================================================
RCS file: /anoncvs/pvfs2/src/common/security/Attic/pint-security.c,v
diff -p -u -r1.1.2.15 -r1.1.2.16
--- pint-security.c 20 May 2008 19:51:24 -0000 1.1.2.15
+++ pint-security.c 20 May 2008 20:40:10 -0000 1.1.2.16
@@ -212,14 +212,14 @@ int PINT_verify_capability(PVFS_capabili
}
pubkey = SECURITY_lookup_pubkey(buf);
- free(buf);
-
+
if (pubkey == NULL)
{
gossip_debug(GOSSIP_SECURITY_DEBUG,
- "Public key not found in lookup.\n");
+ "Public key not found in lookup. Name used: %s\n", buf);
return 0;
}
+ free(buf);
md = EVP_sha1();
More information about the Pvfs2-cvs
mailing list