Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
mbedtls
Commits
04784f57
Commit
04784f57
authored
Aug 19, 2013
by
Paul Bakker
Browse files
Added config check for SSL/TLS module that depends on cipher layer
parent
5fd4917d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
include/polarssl/config.h
include/polarssl/config.h
+3
-3
No files found.
include/polarssl/config.h
View file @
04784f57
...
@@ -735,7 +735,7 @@
...
@@ -735,7 +735,7 @@
* Enable the generic cipher layer.
* Enable the generic cipher layer.
*
*
* Module: library/cipher.c
* Module: library/cipher.c
* Caller:
* Caller:
library/ssl_tls.c
*
*
* Uncomment to enable generic cipher wrappers.
* Uncomment to enable generic cipher wrappers.
*/
*/
...
@@ -1226,7 +1226,7 @@
...
@@ -1226,7 +1226,7 @@
* Caller: library/ssl_cli.c
* Caller: library/ssl_cli.c
* library/ssl_srv.c
* library/ssl_srv.c
*
*
* Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C
* Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C
, POLARSSL_CIPHER_C
*
*
* This module is required for SSL/TLS.
* This module is required for SSL/TLS.
*/
*/
...
@@ -1443,7 +1443,7 @@
...
@@ -1443,7 +1443,7 @@
#endif
#endif
#if defined(POLARSSL_SSL_TLS_C) && ( !defined(POLARSSL_MD5_C) || \
#if defined(POLARSSL_SSL_TLS_C) && ( !defined(POLARSSL_MD5_C) || \
!defined(POLARSSL_SHA1_C) )
!defined(POLARSSL_SHA1_C)
|| !defined(POLARSSL_CIPHER_C)
)
#error "POLARSSL_SSL_TLS_C defined, but not all prerequisites"
#error "POLARSSL_SSL_TLS_C defined, but not all prerequisites"
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment