]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Add .editorconfig
authorVitaly Chikunov <vt@altlinux.org>
Wed, 1 Dec 2021 03:07:08 +0000 (06:07 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Wed, 1 Dec 2021 12:28:38 +0000 (15:28 +0300)
Noticed that there is some misindentation (also fix it).

.editorconfig [new file with mode: 0644]
gosthash2012.c

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..22d449b
--- /dev/null
@@ -0,0 +1,21 @@
+# https://editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+tab_width = 8
+
+[*.[ch]]
+indent_size = 4
+indent_style = space
+
+[{CMakeLists.txt,*.cmake}]
+indent_size = 2
+indent_style = space
+
+[COMMIT_EDITMSG]
+indent_size = 2
+indent_style = space
+max_line_length = 80
index f634bb757ba9afdea5a4fe6b2e84348f8335112c..91c2c9462518681df33e7536dba0b06e24dc73de 100644 (file)
@@ -69,7 +69,7 @@ static INLINE void add512(union uint512_u * RESTRICT x,
 
 # ifdef HAVE_ADDCARRY_U64
     for (i = 0; i < 8; i++)
-    CF = _addcarry_u64(CF, x->QWORD[i] , y->QWORD[i], &(x->QWORD[i]));
+        CF = _addcarry_u64(CF, x->QWORD[i] , y->QWORD[i], &(x->QWORD[i]));
 # else
     for (i = 0; i < 8; i++) {
         const unsigned long long left = x->QWORD[i];