Commit d449bd44c02e1308af7b4ae30310799d26d38496

Steffen Jaeckel 2019-03-29T08:58:28

Merge pull request #187 from libtom/unused_mp_min_u32 mp_min_u32 is not used anywhere anymore, so it can be removed

diff --git a/dep.pl b/dep.pl
index f631100..e06b968 100755
--- a/dep.pl
+++ b/dep.pl
@@ -117,7 +117,7 @@ EOS
           $line = $';
           # now $& is the match, we want to skip over LTM keywords like
           # mp_int, mp_word, mp_digit
-          if (!($& eq 'mp_digit') && !($& eq 'mp_word') && !($& eq 'mp_int') && !($& eq 'mp_min_u32')) {
+          if (!($& eq 'mp_digit') && !($& eq 'mp_word') && !($& eq 'mp_int')) {
              my $a = $&;
              $a =~ tr/[a-z]/[A-Z]/;
              $a = 'BN_' . $a . '_C';
diff --git a/tommath.h b/tommath.h
index 71ecaf5..692433b 100644
--- a/tommath.h
+++ b/tommath.h
@@ -96,9 +96,6 @@ typedef uint64_t             mp_word;
 /* otherwise the bits per digit is calculated automatically from the size of a mp_digit */
 #ifndef DIGIT_BIT
 #   define DIGIT_BIT (((CHAR_BIT * MP_SIZEOF_MP_DIGIT) - 1))  /* bits per digit */
-typedef uint_least32_t mp_min_u32;
-#else
-typedef mp_digit mp_min_u32;
 #endif
 
 #define MP_DIGIT_BIT     DIGIT_BIT