diff options
-rw-r--r-- | common/randstr.c | 3 | ||||
-rw-r--r-- | common/sha512.c | 6 | ||||
-rw-r--r-- | plugin/eurephia-auth.c | 10 |
3 files changed, 12 insertions, 7 deletions
diff --git a/common/randstr.c b/common/randstr.c index 42886b1..6d98897 100644 --- a/common/randstr.c +++ b/common/randstr.c @@ -36,6 +36,9 @@ #include <eurephia_context.h> #include <eurephia_log.h> +/** + * Flag for indicating if the random generator has been initialised + */ static int rand_init = 0; /** diff --git a/common/sha512.c b/common/sha512.c index 2462424..1d9d293 100644 --- a/common/sha512.c +++ b/common/sha512.c @@ -60,12 +60,6 @@ #include "sha512.h" -#ifndef lint -static const char rcsid[] = - "$Id: sha512.c 680 2003-07-25 21:58:07Z asaddi $"; -#endif /* !lint */ - - /** * @{ */ diff --git a/plugin/eurephia-auth.c b/plugin/eurephia-auth.c index a1e86ee..3536281 100644 --- a/plugin/eurephia-auth.c +++ b/plugin/eurephia-auth.c @@ -41,7 +41,15 @@ #include <eurephia.h> -#ifdef ENABLE_DEBUG // To avoid compiler warnings when ENABLE_DEBUG is not defined +#ifdef ENABLE_DEBUG /* To avoid compiler warnings when ENABLE_DEBUG is not defined */ + +/** + * Simple "converter" from OPENVPN_PLUGIN_* type IDs to string + * + * @param type int value, corresponding to an OPENVPN_PLUGIN_* type + * + * @return String containing the string version of the type + */ static const char *plugin_type_name(const int type) { switch (type) |