parent
e76499c166
commit
ce642b5f51
@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
gcc test.c -Iinclude -Wall --std=gnu11 -pedantic -Wextra -O3 -o test-ffi -l:target/release/libchacha20stream.so || exit
|
gcc test.c -Iinclude -Wall --std=gnu11 -pedantic -Wextra -O3 -o test-ffi -l:target/release/libchacha20stream.a -lssl -lcrypto -lpthread -ldl || exit
|
||||||
#-lssl -lcrypto -lpthread -ldl || exit
|
|
||||||
valgrind ./test-ffi test-ffi-output
|
valgrind ./test-ffi test-ffi-output
|
||||||
hexview test-ffi-output
|
hexview test-ffi-output
|
||||||
rm -f test-ffi{,-output}
|
rm -f test-ffi{,-output}
|
||||||
|
Loading…
Reference in new issue