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
a77de8c8
Commit
a77de8c8
authored
Apr 09, 2014
by
Paul Bakker
Browse files
Prevent warnings in ssl_check_cert_usage() if keyUsage checks are off
parent
59366213
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
library/ssl_tls.c
library/ssl_tls.c
+6
-0
No files found.
library/ssl_tls.c
View file @
a77de8c8
...
...
@@ -4769,6 +4769,12 @@ int ssl_check_cert_usage( const x509_crt *cert,
const
ssl_ciphersuite_t
*
ciphersuite
,
int
cert_endpoint
)
{
#if !defined(POLARSSL_X509_CHECK_KEY_USAGE)
((
void
)
cert
);
((
void
)
ciphersuite
);
((
void
)
cert_endpoint
);
#endif
#if defined(POLARSSL_X509_CHECK_KEY_USAGE)
int
usage
=
0
;
#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