[openssl] master update

Matt Caswell matt at openssl.org
Wed Aug 14 10:08:12 UTC 2019


The branch master has been updated
       via  d95422761116791966dcd0dd7035b46795482482 (commit)
      from  48102247ff513d4c57b40b19c1d432f37b9e4b02 (commit)


- Log -----------------------------------------------------------------
commit d95422761116791966dcd0dd7035b46795482482
Author: Matt Caswell <matt at openssl.org>
Date:   Mon Aug 12 11:55:53 2019 +0100

    If we are multiblock capable make sure we use it
    
    Recent changes to the assembler defines meant that they weren't being
    set for libssl code. This resulted in the multiblock code never being
    used.
    
    Fixes #9571
    
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/9574)

-----------------------------------------------------------------------

Summary of changes:
 ssl/build.info | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/ssl/build.info b/ssl/build.info
index 152810ba25..5d70dec676 100644
--- a/ssl/build.info
+++ b/ssl/build.info
@@ -1,4 +1,15 @@
 LIBS=../libssl
+
+#Needed for the multiblock code in rec_layer_s3.c
+IF[{- !$disabled{asm} -}]
+  $AESDEF_x86=AES_ASM
+  $AESDEF_x86_64=AES_ASM
+
+  IF[$AESDEF_{- $target{asm_arch} -}]
+    $AESDEF=$AESDEF_{- $target{asm_arch} -}
+  ENDIF
+ENDIF
+
 #TODO: For now we just include the libcrypto packet.c in libssl as well. We
 #      could either continue to do it like this, or export all the WPACKET
 #      symbols so that libssl can use them like any other. Probably would do
@@ -17,3 +28,4 @@ SOURCE[../libssl]=\
         bio_ssl.c ssl_err.c tls_srp.c t1_trce.c ssl_utst.c \
         record/ssl3_buffer.c record/ssl3_record.c record/dtls1_bitmap.c \
         statem/statem.c record/ssl3_record_tls13.c
+DEFINE[../libssl]=$AESDEF


More information about the openssl-commits mailing list