[dovecot-cvs] dovecot/src/lib mycrypt.c,NONE,1.1 mycrypt.h,NONE,1.1 Makefile.am,1.11,1.12
    cras at procontrol.fi 
    cras at procontrol.fi
       
    Tue Nov 26 19:56:16 EET 2002
    
        - Previous message: [dovecot-cvs] dovecot/src/auth userinfo-passwd-file.c,1.11,1.12 userinfo-passwd.c,1.5,1.6 userinfo-passwd.h,1.3,1.4 userinfo-shadow.c,1.5,1.6 userinfo-vpopmail.c,1.5,1.6
 
        - Next message: [dovecot-cvs] dovecot/src/lib mycrypt.c,1.1,1.2
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv14235/lib
Modified Files:
	Makefile.am 
Added Files:
	mycrypt.c mycrypt.h 
Log Message:
Still more crypt() problems. Wrapped it into mycrypt() which should finally
put end to this kludgeing.
--- NEW FILE: mycrypt.c ---
#define _XOPEN_SOURCE
#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/lib/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile.am	26 Nov 2002 10:28:40 -0000	1.11
+++ Makefile.am	26 Nov 2002 17:56:14 -0000	1.12
@@ -30,6 +30,7 @@
 	mempool-system.c \
 	mmap-anon.c \
 	mmap-util.c \
+	mycrypt.c \
 	network.c \
 	obuffer.c \
 	obuffer-file.c \
    
    
        
	- Previous message: [dovecot-cvs] dovecot/src/auth userinfo-passwd-file.c,1.11,1.12 userinfo-passwd.c,1.5,1.6 userinfo-passwd.h,1.3,1.4 userinfo-shadow.c,1.5,1.6 userinfo-vpopmail.c,1.5,1.6
 
	- Next message: [dovecot-cvs] dovecot/src/lib mycrypt.c,1.1,1.2
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the dovecot-cvs
mailing list