diff --git a/src/Makefile.am b/src/Makefile.am index cf7df87..aec543a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,7 +11,7 @@ AM_CFLAGS = -Wall -g bin_PROGRAMS = ejabberdauth -ejabberdauth_SOURCES = main.c eport.c +ejabberdauth_SOURCES = main.c eport.c tls.c ejabberdauth_LDADD = $(LIBS) $(OPENSSL_LIBS) diff --git a/src/tls.c b/src/tls.c new file mode 100644 index 0000000..1dccf90 --- /dev/null +++ b/src/tls.c @@ -0,0 +1,24 @@ +/* + * ejabberd external authentication program + * + * (c) Alexander Vdolainen 2013, 2018, 2019, 2021 + * + * this 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, either version 2 of the License, or + * (at your option) any later version. + * + * this 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, see ."; + * + */ + +#include +#include +#include +#include