OPENSSL_cleanse to accept zero length parameter [matching C implementation].
[openssl.git] / crypto / sparccpuid.S
index 4691bd72bb3a6b32ca164cf7694b85d391e0f9ef..bcf46f209d43f89b5769a7ddb4e79c1e6d0cfa91 100644 (file)
@@ -242,6 +242,10 @@ OPENSSL_cleanse:
 #else
        bgu     .Lot
 #endif
+       cmp     %o1,0
+       bne     .Little
+       nop
+       retl
        nop
 
 .Little: