--- ./bn/bn_asm.c.orig	2019-10-05 15:56:28.000000000 -0400
+++ ./bn/bn_asm.c	2024-10-31 00:50:21.942046000 -0400
@@ -81,7 +81,7 @@
 
 #ifndef BN_ASM				/* pcg */
 
-#if defined(BN_LLONG) || defined(BN_UMULT_HIGH)
+#if defined(BN_LLONG) || defined(BN_UMULT_HIGH) || defined(BN_UMULT_LOHI)
 
 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num,
                           BN_ULONG w)
