aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/bigint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/bigint.h b/src/include/ipxe/bigint.h
index e55c536c7..14f3c5f28 100644
--- a/src/include/ipxe/bigint.h
+++ b/src/include/ipxe/bigint.h
@@ -248,7 +248,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
* @v inverse Big integer to hold result
*/
#define bigint_mod_invert( invertend, inverse ) do { \
- unsigned int size = bigint_size ( invertend ); \
+ unsigned int size = bigint_size ( inverse ); \
bigint_mod_invert_raw ( (invertend)->element, \
(inverse)->element, size ); \
} while ( 0 )