From fea02fb297cc85d71ab455b9dc65b126ecd40ced Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 15 Jan 2024 13:51:19 +0100 Subject: [PATCH] simaka-crypto: Fix constructor declaration Prototype didn't match the implementation. --- src/libsimaka/simaka_crypto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libsimaka/simaka_crypto.h b/src/libsimaka/simaka_crypto.h index 7909ce30b7..f6ce8a832d 100644 --- a/src/libsimaka/simaka_crypto.h +++ b/src/libsimaka/simaka_crypto.h @@ -23,6 +23,7 @@ #define SIMAKA_CRYPTO_H_ #include +#include typedef struct simaka_crypto_t simaka_crypto_t; @@ -108,8 +109,9 @@ struct simaka_crypto_t { /** * Create a simaka_crypto instance. * + * @param type EAP type * @return EAP-SIM/AKA crypto instance, NULL if algorithms missing */ -simaka_crypto_t *simaka_crypto_create(); +simaka_crypto_t *simaka_crypto_create(eap_type_t type); #endif /** SIMAKA_CRYPTO_H_ @}*/ -- 2.47.2