summaryrefslogtreecommitdiff
path: root/crypto/pariscid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-03-21 23:48:10 +0100
committerMatt Caswell <matt@openssl.org>2018-03-27 10:22:49 +0100
commit0b020b14882173918b9cc3e8e3bd85fb9ffac948 (patch)
tree172d5ea8abe911d7ff20d2dc9de084c4fba36049 /crypto/pariscid.pl
parent273f7fe16a6e4b2a443fb16846beaffd70461750 (diff)
downloadopenssl-new-0b020b14882173918b9cc3e8e3bd85fb9ffac948.tar.gz
pariscid.pl: fix nasty typo in CRYPTO_memcmp.
Comparison was effectively reduced to least significant bits. CVE-2018-0733 Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/pariscid.pl')
-rw-r--r--crypto/pariscid.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pariscid.pl b/crypto/pariscid.pl
index f82e27ac4c..3e26f8eccf 100644
--- a/crypto/pariscid.pl
+++ b/crypto/pariscid.pl
@@ -160,7 +160,7 @@ L\$oop_cmp
or %r29,$rv,$rv
sub %r0,$rv,%r29
- extru %r29,31,1,$rv
+ extru %r29,0,1,$rv
L\$no_data
bv ($rp)
.EXIT