From: miod Date: Thu, 17 Apr 2014 20:29:19 +0000 (+0000) Subject: Nuke BN_DEBUG_LEVITTE X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=56b3ff06943cb250323231f003e67ffe419d68c8;p=openbsd Nuke BN_DEBUG_LEVITTE --- diff --git a/lib/libcrypto/bn/bn_div.c b/lib/libcrypto/bn/bn_div.c index 7b2403185e6..7817c345f05 100644 --- a/lib/libcrypto/bn/bn_div.c +++ b/lib/libcrypto/bn/bn_div.c @@ -337,11 +337,6 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, q=(BN_ULONG)(((((BN_ULLONG)n0)< 0x%08X\n", - n0, n1, d0, q); -#endif #endif #ifndef REMAINDER_IS_ALREADY_CALCULATED @@ -366,11 +361,6 @@ X) -> 0x%08X\n", BN_ULONG t2l,t2h; q=bn_div_words(n0,n1,d0); -#ifdef BN_DEBUG_LEVITTE - fprintf(stderr,"DEBUG: bn_div_words(0x%08X,0x%08X,0x%08\ -X) -> 0x%08X\n", - n0, n1, d0, q); -#endif #ifndef REMAINDER_IS_ALREADY_CALCULATED rem=(n1-q*d0)&BN_MASK2; #endif diff --git a/lib/libssl/src/crypto/bn/bn_div.c b/lib/libssl/src/crypto/bn/bn_div.c index 7b2403185e6..7817c345f05 100644 --- a/lib/libssl/src/crypto/bn/bn_div.c +++ b/lib/libssl/src/crypto/bn/bn_div.c @@ -337,11 +337,6 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, q=(BN_ULONG)(((((BN_ULLONG)n0)< 0x%08X\n", - n0, n1, d0, q); -#endif #endif #ifndef REMAINDER_IS_ALREADY_CALCULATED @@ -366,11 +361,6 @@ X) -> 0x%08X\n", BN_ULONG t2l,t2h; q=bn_div_words(n0,n1,d0); -#ifdef BN_DEBUG_LEVITTE - fprintf(stderr,"DEBUG: bn_div_words(0x%08X,0x%08X,0x%08\ -X) -> 0x%08X\n", - n0, n1, d0, q); -#endif #ifndef REMAINDER_IS_ALREADY_CALCULATED rem=(n1-q*d0)&BN_MASK2; #endif