Fix for older versions of 'dd' that did not support the 'status=none' flag.
This commit is contained in:
parent
6a37d76f35
commit
f889facba1
@ -3,7 +3,11 @@
|
||||
/* This work has been released under the CC0 1.0 Universal license! */
|
||||
/******************************************************************************/
|
||||
|
||||
#define _CRT_SECURE_NO_WARNINGS 1
|
||||
#ifdef _WIN32
|
||||
# define _CRT_SECURE_NO_WARNINGS 1
|
||||
#else
|
||||
# define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
#include <slunkcrypt.h>
|
||||
#include "utils.h"
|
||||
|
@ -30,7 +30,8 @@ printf "\033[1;36m\n------------------------------------------------------------
|
||||
printf "\033[1;36mProfiling\n"
|
||||
printf "\033[1;36m------------------------------------------------------------------------------\033[0m\n\n"
|
||||
|
||||
dd bs=1024 count=102400 status=none < ${RANDOM_SOURCE} > /tmp/${TMP_NAME}.dat
|
||||
dd bs=1024 count=102400 < ${RANDOM_SOURCE} > /tmp/${TMP_NAME}.dat
|
||||
printf "\n"
|
||||
|
||||
./frontend/bin/slunkcrypt${SUFFIX} --self-test
|
||||
./frontend/bin/slunkcrypt${SUFFIX} --encrypt 'q4cmK7FEK7@v' /tmp/${TMP_NAME}.dat /tmp/${TMP_NAME}.enc
|
||||
|
Loading…
Reference in New Issue
Block a user