From: Tobias Brunner Date: Mon, 15 Jan 2024 12:51:19 +0000 (+0100) Subject: simaka-crypto: Fix constructor declaration X-Git-Tag: android-2.5.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fea02fb297cc85d71ab455b9dc65b126ecd40ced;p=thirdparty%2Fstrongswan.git simaka-crypto: Fix constructor declaration Prototype didn't match the implementation. --- 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_ @}*/