AC_SYS_LARGEFILE added.
[skeinsum.git] / skein512.c
index a0afbdb32c019b3d8d11b660b6802a9f947e2c6a..97f84c3a8beecba454f0c7ed693c893b7fc781b7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014 Jason Self <j@jxself.org>
+/* Copyright (C) 2014, 2015 Jason Self <j@jxself.org>
 
 This file is part of skeinsum.
 
@@ -16,6 +16,8 @@ You should have received a copy of the GNU General Public License
 along with skeinsum. If not, see <http://www.gnu.org/licenses/>.
 */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
@@ -604,7 +606,7 @@ int main(int argc, char** argv)
                        while(index_files < number_files)
                        {
                                FILE *fp;
-                               char hash[100], file_name[100], file_tmp[100], MsgDigest_tmp[hashbitlen/2];
+                               char hash[500], file_name[100], file_tmp[100], MsgDigest_tmp[hashbitlen/2];
                                int NoMatch = 0, NotProper = 0, Computed = 0;
                                strcpy(file_name,list_files[index_files]);
                                //show everything