[dovecot-cvs] dovecot/src/auth mycrypt.c,NONE,1.1 mycrypt.h,NONE,1.1 Makefile.am,1.3,1.4
cras at procontrol.fi
cras at procontrol.fi
Tue Nov 26 20:40:00 EET 2002
- Previous message: [dovecot-cvs] dovecot/src/lib Makefile.am,1.13,1.14 mycrypt.c,1.2,NONE mycrypt.h,1.1,NONE
- Next message: [dovecot-cvs] dovecot acconfig.h,1.16,1.17 configure.in,1.55,1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv4989/src/auth
Modified Files:
Makefile.am
Added Files:
mycrypt.c mycrypt.h
Log Message:
Moved mycrypt() into auth/ dir, so we don't have to link all programs with
-lcrypt
--- NEW FILE: mycrypt.c ---
#define _XOPEN_SOURCE 4
#define _XOPEN_SOURCE_EXTENDED
#define _XOPEN_VERSION 4
#define _XPG4_2
#include <unistd.h>
#include "mycrypt.h"
char *mycrypt(const char *key, const char *salt)
{
return crypt(key, salt);
}
--- NEW FILE: mycrypt.h ---
#ifndef __MYCRYPT_H
#define __MYCRYPT_H
/* A simple wrapper to crypt(). Problem with it is that it requires
_XOPEN_SOURCE define which breaks other things. */
char *mycrypt(const char *key, const char *salt);
#endif
Index: Makefile.am
===================================================================
RCS file: /home/cvs/dovecot/src/auth/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am 24 Nov 2002 20:05:06 -0000 1.3
+++ Makefile.am 26 Nov 2002 18:39:57 -0000 1.4
@@ -19,6 +19,7 @@
login-connection.c \
main.c \
master.c \
+ mycrypt.c \
userinfo.c \
userinfo-passwd.c \
userinfo-shadow.c \
@@ -32,5 +33,6 @@
common.h \
cookie.h \
login-connection.h \
+ mycrypt.h \
userinfo.h \
userinfo-passwd.h
- Previous message: [dovecot-cvs] dovecot/src/lib Makefile.am,1.13,1.14 mycrypt.c,1.2,NONE mycrypt.h,1.1,NONE
- Next message: [dovecot-cvs] dovecot acconfig.h,1.16,1.17 configure.in,1.55,1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list