]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost12sum.c
Indentation
[openssl-gost/engine.git] / gost12sum.c
index 15e2941f613c9c4ac869eae9a4fe2ea304303814..f643b8bbf407ac39db738914b9c559cd170ea694 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef _MSC_VER
-#include "getopt.h"
+# include "getopt.h"
 # ifndef PATH_MAX
 #  define PATH_MAX _MAX_PATH
 # endif
-#include <BaseTsd.h>
+# include <BaseTsd.h>
 typedef SSIZE_T ssize_t;
 #else
-#include <unistd.h>
+# include <unistd.h>
 #endif
 #include <limits.h>
 #include <fcntl.h>
@@ -224,7 +224,7 @@ int hash_stream(gost_hash_ctx * ctx, int fd, char *sum)
 {
     unsigned char buffer[BUF_SIZE];
     ssize_t bytes;
-               size_t i;
+    size_t i;
 
     start_hash12(ctx);
     while ((bytes = read(fd, buffer, BUF_SIZE)) > 0) {
@@ -269,7 +269,7 @@ int get_line(FILE *f, char *hash, char *filename, int verbose)
         return 1;
  nextline:
         if (verbose)
-           printf("%s\n", filename);
+            printf("%s\n", filename);
     }
     return 0;
 }