simaka-crypto: Fix constructor declaration
Prototype didn't match the implementation.
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
#define SIMAKA_CRYPTO_H_
|
#define SIMAKA_CRYPTO_H_
|
||||||
|
|
||||||
#include <library.h>
|
#include <library.h>
|
||||||
|
#include <eap/eap.h>
|
||||||
|
|
||||||
typedef struct simaka_crypto_t simaka_crypto_t;
|
typedef struct simaka_crypto_t simaka_crypto_t;
|
||||||
|
|
||||||
@@ -108,8 +109,9 @@ struct simaka_crypto_t {
|
|||||||
/**
|
/**
|
||||||
* Create a simaka_crypto instance.
|
* Create a simaka_crypto instance.
|
||||||
*
|
*
|
||||||
|
* @param type EAP type
|
||||||
* @return EAP-SIM/AKA crypto instance, NULL if algorithms missing
|
* @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_ @}*/
|
#endif /** SIMAKA_CRYPTO_H_ @}*/
|
||||||
|
|||||||
Reference in New Issue
Block a user