[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/cram-md5
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/cram-md5 |
Date: |
Fri, 17 Sep 2004 22:31:54 +0200 |
Update of /home/cvs/gsasl/lib/cram-md5
In directory dopio:/tmp/cvs-serv25129/lib/cram-md5
Modified Files:
Makefile.am cram-md5.c
Added Files:
init_client.c init_server.c
Log Message:
Cleanup init.
--- /home/cvs/gsasl/lib/cram-md5/Makefile.am 2004/06/26 15:02:26 1.7
+++ /home/cvs/gsasl/lib/cram-md5/Makefile.am 2004/09/17 20:31:54 1.8
@@ -24,3 +24,11 @@
noinst_LTLIBRARIES = libgsasl-cram_md5.la
libgsasl_cram_md5_la_SOURCES = cram-md5.h cram-md5.c \
challenge.h challenge.c digest.h digest.c
+
+if CLIENT
+libgsasl_cram_md5_la_SOURCES += init_client.c
+endif
+
+if SERVER
+libgsasl_cram_md5_la_SOURCES += init_server.c
+endif
--- /home/cvs/gsasl/lib/cram-md5/cram-md5.c 2004/06/07 23:16:41 1.7
+++ /home/cvs/gsasl/lib/cram-md5/cram-md5.c 2004/09/17 20:31:54 1.8
@@ -37,18 +37,6 @@
};
int
-_gsasl_cram_md5_client_init (Gsasl_ctx * ctx)
-{
- return GSASL_OK;
-}
-
-void
-_gsasl_cram_md5_client_done (Gsasl_ctx * ctx)
-{
- return;
-}
-
-int
_gsasl_cram_md5_client_start (Gsasl_session_ctx * sctx, void **mech_data)
{
struct _Gsasl_cram_md5_client_state *state;
@@ -190,18 +178,6 @@
#ifdef USE_SERVER
int
-_gsasl_cram_md5_server_init (Gsasl_ctx * ctx)
-{
- return GSASL_OK;
-}
-
-void
-_gsasl_cram_md5_server_done (Gsasl_ctx * ctx)
-{
- return;
-}
-
-int
_gsasl_cram_md5_server_start (Gsasl_session_ctx * sctx, void **mech_data)
{
Gsasl_ctx *ctx;
--- /home/cvs/gsasl/lib/cram-md5/init_client.c 2004/09/17 20:31:54 NONE
+++ /home/cvs/gsasl/lib/cram-md5/init_client.c 2004/09/17 20:31:54 1.1
/* init_client.c --- SASL CRAM-MD5 client initialization functions.
* Copyright (C) 2002, 2003, 2004 Simon Josefsson
*
* This file is part of GNU SASL Library.
*
* GNU SASL Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* GNU SASL Library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with GNU SASL Library; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA
*
*/
#include "cram-md5.h"
int
_gsasl_cram_md5_client_init (Gsasl_ctx * ctx)
{
return GSASL_OK;
}
void
_gsasl_cram_md5_client_done (Gsasl_ctx * ctx)
{
return;
}
--- /home/cvs/gsasl/lib/cram-md5/init_server.c 2004/09/17 20:31:54 NONE
+++ /home/cvs/gsasl/lib/cram-md5/init_server.c 2004/09/17 20:31:54 1.1
/* init_server.c --- SASL CRAM-MD5 server initialization functions.
* Copyright (C) 2002, 2003, 2004 Simon Josefsson
*
* This file is part of GNU SASL Library.
*
* GNU SASL Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* GNU SASL Library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with GNU SASL Library; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA
*
*/
#include "cram-md5.h"
int
_gsasl_cram_md5_server_init (Gsasl_ctx * ctx)
{
return GSASL_OK;
}
void
_gsasl_cram_md5_server_done (Gsasl_ctx * ctx)
{
return;
}
- CVS gsasl/lib/cram-md5,
gsasl-commit <=
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/17
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/17
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/18
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/18
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/18
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/20
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/20
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/20
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/23
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/23