[Pvfs2-cvs] commit by nlmills in pvfs2/src/common/security:
security-hash.c security-hash.h
CVS commit program
cvs at parl.clemson.edu
Tue May 20 11:42:13 EDT 2008
Update of /anoncvs/pvfs2/src/common/security
In directory parlweb1:/tmp/cvs-serv13869/src/common/security
Modified Files:
Tag: cu-security-branch
security-hash.c security-hash.h
Log Message:
fixed comments
Index: security-hash.c
===================================================================
RCS file: /anoncvs/pvfs2/src/common/security/Attic/security-hash.c,v
diff -p -u -r1.1.2.12 -r1.1.2.13
--- security-hash.c 19 May 2008 20:21:01 -0000 1.1.2.12
+++ security-hash.c 20 May 2008 15:42:13 -0000 1.1.2.13
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <string.h>
-#include <openssl/evp.h> // encryption library
+#include <openssl/evp.h>
#include "pvfs2-types.h"
#include "quickhash.h"
@@ -25,19 +25,19 @@
typedef struct pubkey_entry_s {
- struct qlist_head hash_link; // holds prev/next pointers
- char *host; // BMI host address
- EVP_PKEY *pubkey; // public key for above host ID
+ struct qlist_head hash_link; /* holds prev/next pointers */
+ char *host; /* BMI host address */
+ EVP_PKEY *pubkey; /* public key for above host ID */
} pubkey_entry_t;
-static struct qhash_table *pubkey_table = NULL; // head of the table
-static int hash_init_status = 0; // 1 = init, 0 = not init
-static gen_mutex_t hash_mutex = GEN_MUTEX_INITIALIZER; // write mutex
+static struct qhash_table *pubkey_table = NULL; /* head of the table */
+static int hash_init_status = 0; /* 1 = init, 0 = not init */
+static gen_mutex_t hash_mutex = GEN_MUTEX_INITIALIZER;
-static int pubkey_compare(void*, struct qhash_head*); // internal compare
-static void free_pubkey_entry(void*); // internal free
+static int pubkey_compare(void*, struct qhash_head*);
+static void free_pubkey_entry(void*);
/* SECURITY_hash_initialize
Index: security-hash.h
===================================================================
RCS file: /anoncvs/pvfs2/src/common/security/Attic/security-hash.h,v
diff -p -u -r1.1.2.7 -r1.1.2.8
--- security-hash.h 19 May 2008 20:21:01 -0000 1.1.2.7
+++ security-hash.h 20 May 2008 15:42:13 -0000 1.1.2.8
@@ -8,7 +8,7 @@
#define _SECURITY_HASH_H_
-#include <openssl/evp.h> // encryption library
+#include <openssl/evp.h>
#include "pvfs2-types.h"
More information about the Pvfs2-cvs
mailing list