summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--duo_openvpn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/duo_openvpn.c b/duo_openvpn.c
index 1f37947..d7db313 100644
--- a/duo_openvpn.c
+++ b/duo_openvpn.c
@@ -30,7 +30,7 @@ get_env(const char *name, const char *envp[])
{
int i, namelen;
const char *cp;
-
+
if (envp) {
namelen = strlen(name);
for (i = 0; envp[i]; ++i) {
@@ -51,7 +51,7 @@ auth_user_pass_verify(struct context *ctx, const char *args[], const char *envp[
int pid;
const char *control, *username, *password, *ipaddr;
char *argv[] = { INTERPRETER, DUO_SCRIPT_PATH, NULL };
-
+
control = get_env("auth_control_file", envp);
username = get_env("common_name", envp);
password = get_env("password", envp);
@@ -121,7 +121,7 @@ OPENVPN_EXPORT openvpn_plugin_handle_t
openvpn_plugin_open_v2(unsigned int *type_mask, const char *argv[], const char *envp[], struct openvpn_plugin_string_list **return_list)
{
struct context *ctx;
-
+
ctx = (struct context *) calloc(1, sizeof(struct context));
if (argv[1] && argv[2] && argv[3]) {