summaryrefslogtreecommitdiff
path: root/plugin/auth_pam
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-02-17 12:19:38 +0100
committerSergei Golubchik <sergii@pisem.net>2012-02-17 12:19:38 +0100
commit5bf311e1e853457c31dbadd3d130b2569a867d80 (patch)
treeb374c777d2f6da211895ae94881da0e56cb2cafd /plugin/auth_pam
parent00995935628c9e865ee545422871363be75812b8 (diff)
downloadmariadb-git-5bf311e1e853457c31dbadd3d130b2569a867d80.tar.gz
fix the include guards and add missing gplv2 headers
Diffstat (limited to 'plugin/auth_pam')
-rw-r--r--plugin/auth_pam/auth_pam.c16
-rw-r--r--plugin/auth_pam/testing/pam_mariadb_mtr.c2
2 files changed, 18 insertions, 0 deletions
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c
index ee13b37f793..fbe2edff449 100644
--- a/plugin/auth_pam/auth_pam.c
+++ b/plugin/auth_pam/auth_pam.c
@@ -1,3 +1,19 @@
+/*
+ Copyright (c) 2011, 2012, Monty Program Ab
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
#include <mysql/plugin_auth.h>
#include <string.h>
#include <my_config.h>
diff --git a/plugin/auth_pam/testing/pam_mariadb_mtr.c b/plugin/auth_pam/testing/pam_mariadb_mtr.c
index 73defe30112..8ad1e18e696 100644
--- a/plugin/auth_pam/testing/pam_mariadb_mtr.c
+++ b/plugin/auth_pam/testing/pam_mariadb_mtr.c
@@ -1,4 +1,6 @@
/*
+ This code is in the public domain and has no copyright.
+
Pam module to test pam authentication plugin. Used in pam.test.
Linux only.