Ticket #53885: patch-openssl-tiger-ppc-signal-posix.diff

File patch-openssl-tiger-ppc-signal-posix.diff, 514 bytes (added by kencu (Ken), 7 years ago)

small patch for this error for anyone on TIger who is interested

  • ./crypto/ppccap.c

    old new  
    148148    if (sigsetjmp(ill_jmp, 1) == 0) {
    149149        OPENSSL_altivec_probe();
    150150        OPENSSL_ppccap_P |= PPC_ALTIVEC;
    151         if (sigsetjmp(ill_jmp, 1) == 0) {
     151#ifndef __APPLE__
     152                if (sigsetjmp(ill_jmp, 1) == 0) {
    152153            OPENSSL_crypto207_probe();
    153154            OPENSSL_ppccap_P |= PPC_CRYPTO207;
    154155        }
     156#endif
    155157    }
    156158
    157159    sigaction(SIGILL, &ill_oact, NULL);