projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove malloc casts
[openssl.git]
/
crypto
/
bn
/
bn_mod.c
diff --git
a/crypto/bn/bn_mod.c
b/crypto/bn/bn_mod.c
index ffbce890cf288b819622340fc363657b3b0a71cb..e0ed47816a7b117331ad8d5eb0494c59d72d043a 100644
(file)
--- a/
crypto/bn/bn_mod.c
+++ b/
crypto/bn/bn_mod.c
@@
-116,14
+116,6
@@
#include "cryptlib.h"
#include "bn_lcl.h"
#include "cryptlib.h"
#include "bn_lcl.h"
-#if 0 /* now just a #define */
-int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
-{
- return (BN_div(NULL, rem, m, d, ctx));
- /* note that rem->neg == m->neg (unless the remainder is zero) */
-}
-#endif
-
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
{
/*
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
{
/*