From 1fd84c7dc70a0a6e6d8651fafa50c51dd697ae77 Mon Sep 17 00:00:00 2001 From: Benedict Date: Thu, 2 Feb 2017 00:32:26 +0100 Subject: added random stuff which hasn't beend added because yeah --- lib/lib5.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/lib5.c') diff --git a/lib/lib5.c b/lib/lib5.c index 1eb25e3..3be330d 100644 --- a/lib/lib5.c +++ b/lib/lib5.c @@ -417,12 +417,6 @@ int rsa_decrpyt(int message, struct rsa_key *private) return modulo((message^private->exponent), private->modulo); } -void die(char *message) -{ - printf("%s\n", message); - exit(1); -} - int rsa_encrypt_bignum(BIGNUM *message, BIGNUM *res, struct rsa_key_bignum *public) { return BN_mod_exp(res, message, public->exponent, public->modulo, ctx); -- cgit v1.2.3-70-g09d2