summaryrefslogtreecommitdiffstats
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:23:34 +0100
commit56d5a4bfcaf37fa420aef2bb881aa55e61cf5f2f (patch)
treedf2ea25cd67105ffc22edd24914bc26f5446cf70
parente25aef64a5f2874cc4903d3e4bd447983a7eff9e (diff)
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>
-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