Browse Source

Disable assembler code for ghash on hppa, causes wrong computations in some

cases and breaks TLS 1.2; crank libcrypto.so minor version out of safety and
to be able to tell broken versions apart easily.
OPENBSD_5_7
miod 10 years ago
parent
commit
8de2ab8a5e
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      src/lib/libcrypto/crypto/arch/hppa/Makefile.inc
  2. +1
    -1
      src/lib/libcrypto/crypto/shlib_version

+ 3
- 3
src/lib/libcrypto/crypto/arch/hppa/Makefile.inc View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.4 2014/05/02 22:23:00 miod Exp $
# $OpenBSD: Makefile.inc,v 1.5 2014/09/27 12:29:31 miod Exp $
# hppa-specific libcrypto build rules
@ -15,8 +15,8 @@ CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W
# des
SRCS+= des_enc.c fcrypt_b.c
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-parisc ghash-parisc
#CFLAGS+= -DGHASH_ASM
#SSLASM+= modes ghash-parisc ghash-parisc
# rc4
.if 0 # about 35% slower than C code
SSLASM+= rc4 rc4-parisc rc4-parisc


+ 1
- 1
src/lib/libcrypto/crypto/shlib_version View File

@ -1,2 +1,2 @@
major=30
minor=0
minor=1

Loading…
Cancel
Save