From 68b3e412f49f7cfe0d00ebc66bce8d14a17439e8 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 17 Dec 2003 19:05:23 +0000 Subject: * dsa.h, dsa.c (dsa_verify), elgamal.h, elgamal.c (elg_verify), rsa.h, rsa.c (rsa_verify), pubkey.c (dummy_verify, pubkey_verify): Remove old unused code. --- cipher/rsa.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cipher/rsa.h') diff --git a/cipher/rsa.h b/cipher/rsa.h index 350a373ec..13c6e92e4 100644 --- a/cipher/rsa.h +++ b/cipher/rsa.h @@ -18,6 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ + #ifndef G10_RSA_H #define G10_RSA_H @@ -26,11 +27,9 @@ int rsa_check_secret_key( int algo, MPI *skey ); int rsa_encrypt( int algo, MPI *resarr, MPI data, MPI *pkey ); int rsa_decrypt( int algo, MPI *result, MPI *data, MPI *skey ); int rsa_sign( int algo, MPI *resarr, MPI data, MPI *skey ); -int rsa_verify( int algo, MPI hash, MPI *data, MPI *pkey, - int (*cmp)(void *, MPI), void *opaquev ); +int rsa_verify( int algo, MPI hash, MPI *data, MPI *pkey ); unsigned rsa_get_nbits( int algo, MPI *pkey ); const char *rsa_get_info( int algo, int *npkey, int *nskey, int *nenc, int *nsig, int *use ); - #endif /*G10_RSA_H*/ -- cgit v1.2.3