diff --git a/src/libcrypto.c b/src/libcrypto.c index da3f09db..02491030 100644 --- a/src/libcrypto.c +++ b/src/libcrypto.c @@ -527,7 +527,8 @@ static struct crypto_struct ssh_ciphertab[] = { }; -struct crypto_struct *ssh_get_ciphertab(){ +struct crypto_struct *ssh_get_ciphertab(void) +{ return ssh_ciphertab; } diff --git a/src/libgcrypt.c b/src/libgcrypt.c index 2e2695c8..b31ac709 100644 --- a/src/libgcrypt.c +++ b/src/libgcrypt.c @@ -474,7 +474,9 @@ static struct crypto_struct ssh_ciphertab[] = { } }; -struct crypto_struct *ssh_get_ciphertab(){ +struct crypto_struct *ssh_get_ciphertab(void) +{ return ssh_ciphertab; } + #endif