[openssl] master update

patrick.steuer at de.ibm.com patrick.steuer at de.ibm.com
Tue Jul 16 12:47:26 UTC 2019


The branch master has been updated
       via  c17d60ea293746d7cd06a910ced446edbb6c1eba (commit)
      from  5fe499cb75469fbda08d96facd13d14a402a6d44 (commit)


- Log -----------------------------------------------------------------
commit c17d60ea293746d7cd06a910ced446edbb6c1eba
Author: Patrick Steuer <patrick.steuer at de.ibm.com>
Date:   Mon Jul 15 17:00:15 2019 +0200

    s390x assembly pack: fix restoring of SIGILL action
    
    Signed-off-by: Patrick Steuer <patrick.steuer at de.ibm.com>
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/9381)

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

Summary of changes:
 crypto/s390xcap.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/crypto/s390xcap.c b/crypto/s390xcap.c
index b75eacf..a985026 100644
--- a/crypto/s390xcap.c
+++ b/crypto/s390xcap.c
@@ -65,7 +65,7 @@ struct OPENSSL_s390xcap_st OPENSSL_s390xcap_P;
 void OPENSSL_cpuid_setup(void)
 {
     sigset_t oset;
-    struct sigaction ill_act, oact;
+    struct sigaction ill_act, oact_ill, oact_fpe;
     struct OPENSSL_s390xcap_st cap;
 
     if (OPENSSL_s390xcap_P.stfle[0])
@@ -87,8 +87,8 @@ void OPENSSL_cpuid_setup(void)
     sigdelset(&ill_act.sa_mask, SIGFPE);
     sigdelset(&ill_act.sa_mask, SIGTRAP);
     sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset);
-    sigaction(SIGILL, &ill_act, &oact);
-    sigaction(SIGFPE, &ill_act, &oact);
+    sigaction(SIGILL, &ill_act, &oact_ill);
+    sigaction(SIGFPE, &ill_act, &oact_fpe);
 
     /* protection against missing store-facility-list-extended */
     if (sigsetjmp(ill_jmp, 1) == 0)
@@ -110,8 +110,8 @@ void OPENSSL_cpuid_setup(void)
                                          | S390X_CAPBIT(S390X_VXE));
     }
 
-    sigaction(SIGFPE, &oact, NULL);
-    sigaction(SIGILL, &oact, NULL);
+    sigaction(SIGFPE, &oact_fpe, NULL);
+    sigaction(SIGILL, &oact_ill, NULL);
     sigprocmask(SIG_SETMASK, &oset, NULL);
 
     OPENSSL_s390x_functions();


More information about the openssl-commits mailing list