projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3ece50
)
Fix CONFIG_WPS=y, CONFIG_TLS=internal build
author
Andriy Tkachuk
<andriy.v.tkachuk@globallogic.com>
Thu, 18 Dec 2008 18:10:18 +0000
(20:10 +0200)
committer
Jouni Malinen
<j@w1.fi>
Thu, 18 Dec 2008 18:10:18 +0000
(20:10 +0200)
crypto_mod_exp() is needed for both EAP-FAST and WPS.
src/crypto/crypto_internal.c
patch
|
blob
|
history
diff --git
a/src/crypto/crypto_internal.c
b/src/crypto/crypto_internal.c
index
9324c6e
..
a601cbf
100644
(file)
--- a/
src/crypto/crypto_internal.c
+++ b/
src/crypto/crypto_internal.c
@@
-790,7
+790,7
@@
void crypto_global_deinit(void)
}
-#if
def EAP_FAST
+#if
defined(EAP_FAST) || defined(CONFIG_WPS)
int crypto_mod_exp(const u8 *base, size_t base_len,
const u8 *power, size_t power_len,
@@
-827,7
+827,7
@@
error:
return ret;
}
-#endif /* EAP_FAST */
+#endif /* EAP_FAST
|| CONFIG_WPS
*/
#endif /* CONFIG_TLS_INTERNAL */