More C language police work.
[openssl.git] / crypto / x86_64cpuid.pl
index 862118f285858439384cbed181c056bd6b58501d..c96821a3c811d55567f43caebce6f47a8308c790 100644 (file)
@@ -145,11 +145,14 @@ OPENSSL_cleanse:
        xor     %rax,%rax
        cmp     \$15,$arg2
        jae     .Lot
+       cmp     \$0,$arg2
+       je      .Lret
 .Little:
        mov     %al,($arg1)
        sub     \$1,$arg2
        lea     1($arg1),$arg1
        jnz     .Little
+.Lret:
        ret
 .align 16
 .Lot: