sparcv9cap.c: omit random detection.
authorAndy Polyakov <appro@openssl.org>
Sat, 28 Dec 2013 12:31:14 +0000 (13:31 +0100)
committerAndy Polyakov <appro@openssl.org>
Sat, 28 Dec 2013 12:32:45 +0000 (13:32 +0100)
PR: 3202
(cherry picked from commit 926725b3d7c1528f2dc116a48623c42264188277)

crypto/sparcv9cap.c

index 38f33bee7598507cd0666852e13716883684af06..7ee6769120b21702dc248e9083326459a3db46e1 100644 (file)
@@ -287,11 +287,13 @@ void OPENSSL_cpuid_setup(void)
                OPENSSL_sparcv9cap_P[0] |= SPARCV9_VIS3;
                }
 
+#if 0  /* was planned at some point but never implemented in hardware */
        if (sigsetjmp(common_jmp,1) == 0)
                {
                (void)_sparcv9_random();
                OPENSSL_sparcv9cap_P[0] |= SPARCV9_RANDOM;
                }
+#endif
 
        /*
         * In wait for better solution _sparcv9_rdcfr is masked by