diff options
author | Andy Polyakov <appro@openssl.org> | 2010-01-24 17:08:52 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-01-24 17:08:52 +0000 |
commit | 3f2a98acbfe17f5e1d347725e7d14a8081b2365b (patch) | |
tree | 4744066769ae3a74cbe6c357127fa4a6e4edbf14 /crypto | |
parent | bc120a54c9268ac37ede72aa88ed49ac6dbd4403 (diff) |
ia64cpuid.S: OPENSSL_cleanse to accept zero length parameter.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ia64cpuid.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/ia64cpuid.S b/crypto/ia64cpuid.S index 1a03b028fc..d705fff7ee 100644 --- a/crypto/ia64cpuid.S +++ b/crypto/ia64cpuid.S @@ -130,9 +130,11 @@ OPENSSL_wipe_cpu: .global OPENSSL_cleanse# .proc OPENSSL_cleanse# OPENSSL_cleanse: +{ .mib; cmp.eq p6,p0=0,r33 // len==0 #if defined(_HPUX_SOURCE) && !defined(_LP64) -{ .mmi; addp4 r32=0,r32 };; + addp4 r32=0,r32 #endif +(p6) br.ret.spnt b0 };; { .mib; and r2=7,r32 cmp.leu p6,p0=15,r33 // len>=15 (p6) br.cond.dptk .Lot };; |