]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
simaka-crypto: Fix constructor declaration
authorTobias Brunner <tobias@strongswan.org>
Mon, 15 Jan 2024 12:51:19 +0000 (13:51 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 16 Jan 2024 10:00:29 +0000 (11:00 +0100)
Prototype didn't match the implementation.

src/libsimaka/simaka_crypto.h

index 7909ce30b79a0a9413ce459db13fb7b1617b8be9..f6ce8a832db7085a15d4c59e97c16eb3cfeb8965 100644 (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_ @}*/