[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, 24 Sep 2004 16:07:37 +0200 |
Update of /home/cvs/gsasl/lib/cram-md5
In directory dopio:/tmp/cvs-serv14688/lib/cram-md5
Modified Files:
Makefile.am cram-md5.h
Added Files:
mechinfo.c
Log Message:
Move mechanism definitions from src/common.c into */mechinfo.c.
--- /home/cvs/gsasl/lib/cram-md5/Makefile.am 2004/09/17 20:45:10 1.10
+++ /home/cvs/gsasl/lib/cram-md5/Makefile.am 2004/09/24 14:07:37 1.11
@@ -22,7 +22,7 @@
-I$(srcdir)/../crypto -I../crypto
noinst_LTLIBRARIES = libgsasl-cram_md5.la
-libgsasl_cram_md5_la_SOURCES = cram-md5.h \
+libgsasl_cram_md5_la_SOURCES = cram-md5.h mechinfo.c \
challenge.h challenge.c digest.h digest.c
if CLIENT
--- /home/cvs/gsasl/lib/cram-md5/cram-md5.h 2004/09/24 01:37:14 1.7
+++ /home/cvs/gsasl/lib/cram-md5/cram-md5.h 2004/09/24 14:07:37 1.8
@@ -25,7 +25,9 @@
#include "internal.h"
-#define _GSASL_CRAM_MD5_NAME "CRAM-MD5"
+#define GSASL_CRAM_MD5_NAME "CRAM-MD5"
+
+extern Gsasl_mechanism gsasl_cram_md5_mechanism;
extern int _gsasl_cram_md5_client_step (Gsasl_session_ctx * sctx,
void *mech_data,
--- /home/cvs/gsasl/lib/cram-md5/mechinfo.c 2004/09/24 14:07:37 NONE
+++ /home/cvs/gsasl/lib/cram-md5/mechinfo.c 2004/09/24 14:07:37 1.1
/* mechinfo.c --- Definition of CRAM-MD5 mechanism.
* 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
*
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
/* Get specification. */
#include "cram-md5.h"
Gsasl_mechanism gsasl_cram_md5_mechanism = {
GSASL_CRAM_MD5_NAME,
{
NULL,
NULL,
NULL,
#ifdef USE_CLIENT
_gsasl_cram_md5_client_step,
#else
NULL,
#endif
NULL,
NULL,
NULL
},
{
NULL,
NULL,
#ifdef USE_SERVER
_gsasl_cram_md5_server_start,
#else
NULL,
#endif
#ifdef USE_SERVER
_gsasl_cram_md5_server_step,
#else
NULL,
#endif
#ifdef USE_SERVER
_gsasl_cram_md5_server_finish,
#else
NULL,
#endif
NULL,
NULL
}
};
- CVS gsasl/lib/cram-md5, (continued)
- 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
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/23
- CVS gsasl/lib/cram-md5,
gsasl-commit <=
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/24
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/24
- CVS gsasl/lib/cram-md5, gsasl-commit, 2004/09/26