Updates to try to fix undefined symbol errors
[mech_eap.git] / libeap / src / crypto / crypto.h
index 534c4bd..368bacf 100644 (file)
 #ifndef CRYPTO_H
 #define CRYPTO_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /**
  * md4_vector - MD4 hash for data vector
  * @num_elem: Number of elements in the data vector
@@ -806,4 +811,9 @@ int crypto_ec_point_cmp(const struct crypto_ec *e,
                        const struct crypto_ec_point *a,
                        const struct crypto_ec_point *b);
 
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* CRYPTO_H */