simaka-crypto: Fix constructor declaration

Prototype didn't match the implementation.
This commit is contained in:
Tobias Brunner
2024-01-16 11:00:29 +01:00
parent cb139ce4b3
commit fea02fb297
+3 -1
View File
@@ -23,6 +23,7 @@
#define SIMAKA_CRYPTO_H_
#include <library.h>
#include <eap/eap.h>
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_ @}*/