diff options
author | Andy Polyakov <appro@openssl.org> | 2010-01-24 14:54:24 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-01-24 14:54:24 +0000 |
commit | 7676eebf4297c8ccb27a6517eb8529cbd187f17a (patch) | |
tree | 8668e00dc37bdb3b027f34331e810578aaf7d02c /crypto/sparccpuid.S | |
parent | 21a5c040e5398b7d4ec374168815f88c94a102d6 (diff) |
OPENSSL_cleanse to accept zero length parameter [matching C implementation].
Diffstat (limited to 'crypto/sparccpuid.S')
-rw-r--r-- | crypto/sparccpuid.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/sparccpuid.S b/crypto/sparccpuid.S index 4691bd72bb..bcf46f209d 100644 --- a/crypto/sparccpuid.S +++ b/crypto/sparccpuid.S @@ -242,6 +242,10 @@ OPENSSL_cleanse: #else bgu .Lot #endif + cmp %o1,0 + bne .Little + nop + retl nop .Little: |