summaryrefslogtreecommitdiff
path: root/lib/lib5.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib5.c')
-rw-r--r--lib/lib5.c6
1 files changed, 0 insertions, 6 deletions
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);