diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-08 15:51:06 +0100 | 
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-08 15:51:06 +0100 | 
| commit | c2295f7eeac263dbcc19f84e9a61abbe778aa9f8 (patch) | |
| tree | c497fb429aa6970f2980f4dbf5fea5aa07cfafc8 /crypting.c | |
| parent | 1eddf6b197ba5fbd3f1cce390396efc7d25c9de9 (diff) | |
Move some crypting-unrelated code
Diffstat (limited to 'crypting.c')
| -rw-r--r-- | crypting.c | 11 | 
1 files changed, 0 insertions, 11 deletions
| @@ -45,9 +45,6 @@ typedef struct irc  	char *password;  } irc_t; -#define set_add( a, b, c, d ) -#define set_find( a, b ) NULL -  #include "md5.h"  #include "crypting.h"  #include <string.h> @@ -68,9 +65,6 @@ typedef struct irc     Sets pass without checking */  void setpassnc (irc_t *irc, const char *pass)   { -	if (!set_find (irc, "password")) -		set_add (irc, "password", NULL, passchange); -	  	if (irc->password) g_free (irc->password);  	if (pass) { @@ -81,11 +75,6 @@ void setpassnc (irc_t *irc, const char *pass)  	}  } -char *passchange (irc_t *irc, void *set, const char *value) { -	setpassnc (irc, value); -	return (NULL); -} -  int setpass (irc_t *irc, const char *pass, const char* md5sum)   {  	md5_state_t md5state; | 
