summaryrefslogtreecommitdiff
path: root/crypto/ppccpuid.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-02-12 17:02:13 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-02-12 17:02:13 +0000
commit1d8fa09c80232ee924fdf87000e3473b40c37da2 (patch)
treee8e3ac72b79248b715813bc62089ec6e51eff2a9 /crypto/ppccpuid.pl
parente085e6c84c2827d6bff3cc13bcb8a97db23dd188 (diff)
downloadopenssl-new-1d8fa09c80232ee924fdf87000e3473b40c37da2.tar.gz
Make assembly language versions of OPENSSL_cleanse() accept zero length
parameter. Backport from HEAD, orginal by appro.
Diffstat (limited to 'crypto/ppccpuid.pl')
-rwxr-xr-xcrypto/ppccpuid.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ppccpuid.pl b/crypto/ppccpuid.pl
index fe44ff07bc..369e1d0df9 100755
--- a/crypto/ppccpuid.pl
+++ b/crypto/ppccpuid.pl
@@ -67,6 +67,8 @@ Loop: lwarx r5,0,r3
$CMPLI r4,7
li r0,0
bge Lot
+ $CMPLI r4,0
+ beqlr-
Little: mtctr r4
stb r0,0(r3)
addi r3,r3,1