summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Nelson <pete.nelson@unitedlex.com>2016-02-11 09:52:02 -0500
committerPete Nelson <pete.nelson@unitedlex.com>2016-02-11 09:52:02 -0500
commit0de3b331ec8daceb9f3785baeb7301b3df688087 (patch)
tree64fc1140fbb1d94ca2c22af743d75bcd0231d696
parent9b44153d201d5be72d3ad3df4a3b5e73d935cfd1 (diff)
downloadopenvpn-duo-plugin-0de3b331ec8daceb9f3785baeb7301b3df688087.tar.gz
openvpn-duo-plugin-0de3b331ec8daceb9f3785baeb7301b3df688087.zip
whitespace only: remove trailing tabs
-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]) {