aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/openssl.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml
index 70502969c..0beb5664b 100644
--- a/chapter08/openssl.xml
+++ b/chapter08/openssl.xml
@@ -43,6 +43,12 @@
<sect2 role="installation">
<title>Installation of OpenSSL</title>
+ <para>First fix a problem with some advanced arcitectures with avx512
+ capability:</para>
+
+ <screen><userinput remap="pre">sed -e '/bn_reduce.*m1/i\ factor_size /= sizeof(BN_ULONG) * 8;' \
+ -i crypto/bn/rsaz_exp_x2.c</userinput></screen>
+
<para>Prepare OpenSSL for compilation:</para>
<screen><userinput remap="configure">./config --prefix=/usr \