summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBakasuraRCE <bakasura@protonmail.ch>2020-07-21 18:35:57 -0500
committerPatrick <tingping@tingping.se>2020-10-16 23:19:10 +0200
commitdf818ad7d99cecaec58b293724cc975801e19079 (patch)
treeb5377ef79549b962590d45a3b987e08458e9b048 /plugins
parentc7844c775ac2f2ab71722227edb941b4086baf91 (diff)
fishlim: Remove compiler warnings
Diffstat (limited to 'plugins')
-rw-r--r--plugins/fishlim/tests/tests.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/fishlim/tests/tests.c b/plugins/fishlim/tests/tests.c
index e34532bf..b75ec653 100644
--- a/plugins/fishlim/tests/tests.c
+++ b/plugins/fishlim/tests/tests.c
@@ -56,7 +56,7 @@ void random_string(char *out, size_t len) {
 /**
  * Check encrypt and decrypt in ECB mode and compare with old implementation
  */
-void __ecb() {
+void __ecb(void) {
     char *bo64 = NULL, *b64 = NULL;
     char *deo = NULL, *de = NULL;
     int key_len, message_len = 0;
@@ -110,7 +110,7 @@ void __ecb() {
 /**
  * Check encrypt and decrypt in CBC mode
  */
-void __cbc() {
+void __cbc(void) {
     char *b64 = NULL;
     char *de = NULL;
     int key_len, message_len = 0;
@@ -145,7 +145,7 @@ void __cbc() {
 /**
  * Check the calculation of final length from an encoded string in Base64
  */
-void __base64_len() {
+void __base64_len(void) {
     char *b64 = NULL;
     int i, message_len = 0;
     char message[1000];
@@ -165,7 +165,7 @@ void __base64_len() {
 /**
  * Check the calculation of final length from an encoded string in BlowcryptBase64
  */
-void __base64_fish_len() {
+void __base64_fish_len(void) {
     char *b64 = NULL;
     int i, message_len = 0;
     char message[1000];
@@ -186,7 +186,7 @@ void __base64_fish_len() {
 /**
  * Check the calculation of final length from an encrypted string in ECB mode
  */
-void __base64_ecb_len() {
+void __base64_ecb_len(void) {
     char *b64 = NULL;
     int key_len, message_len = 0;
     char key[57];
@@ -210,7 +210,7 @@ void __base64_ecb_len() {
 /**
  * Check the calculation of final length from an encrypted string in CBC mode
  */
-void __base64_cbc_len() {
+void __base64_cbc_len(void) {
     char *b64 = NULL;
     int key_len, message_len = 0;
     char key[57];