]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/cpuid.c
fix some code with obvious wrong coding style
[thirdparty/openssl.git] / crypto / cpuid.c
index 090f6fe03ecc81f1de6f5a4b735d78a1f4bcca53..048689f410a0c1f2bc756f91214e87987446b2a8 100644 (file)
@@ -71,7 +71,7 @@ static uint64_t ossl_strtouint64(const variant_char *str)
             base = 16, str++;
     }
 
-    while((digit = todigit(*str++)) < base)
+    while ((digit = todigit(*str++)) < base)
         ret = ret * base + digit;
 
     return ret;
@@ -80,7 +80,7 @@ static uint64_t ossl_strtouint64(const variant_char *str)
 static variant_char *ossl_strchr(const variant_char *str, char srch)
 {   variant_char c;
 
-    while((c = *str)) {
+    while ((c = *str)) {
         if (c == srch)
             return (variant_char *)str;
         str++;