From e42f125a850c11ead01602e01da53ba9200621ab Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 5 Jul 2010 15:45:28 -0400 Subject: Removed enc_encrypt_in_place, it is unnecessary and using it like it was designed breaks long passwords. --- include/encrypt.h | 1 - include/extern.h | 2 -- 2 files changed, 3 deletions(-) (limited to 'include') diff --git a/include/encrypt.h b/include/encrypt.h index 33c2eb36c..0b4c81bb4 100644 --- a/include/encrypt.h +++ b/include/encrypt.h @@ -13,7 +13,6 @@ typedef struct encryption_ { int (*encrypt)(const char *src, int len, char *dest, int size); - int (*encrypt_in_place)(char *buf, int size); int (*encrypt_check_len)(int passlen, int bufsize); int (*decrypt)(const char *src, char *dest, int size); int (*check_password)(const char *plaintext, const char *password); diff --git a/include/extern.h b/include/extern.h index d63d7d1fd..c9d67cdbb 100644 --- a/include/extern.h +++ b/include/extern.h @@ -576,12 +576,10 @@ E long unsigned int UserKey3; /**** encrypt.c ****/ E char *EncModule; E int enc_encrypt(const char *src, int len, char *dest, int size); -E int enc_encrypt_in_place(char *buf, int size); E int enc_encrypt_check_len(int passlen, int bufsize); E int enc_decrypt(const char *src, char *dest, int size); E int enc_check_password(const char *plaintext, const char *password); E void encmodule_encrypt(int (*func)(const char *src, int len, char *dest, int size)); -E void encmodule_encrypt_in_place(int (*func)(char *buf, int size)); E void encmodule_encrypt_check_len(int (*func)(int passlen, int bufsize)); E void encmodule_decrypt(int (*func)(const char *src, char *dest, int size)); E void encmodule_check_password(int (*func)(const char *plaintext, const char *password)); -- cgit