-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tls: print logs when a connection will been closed for error #496
Conversation
🎉 Thank you for your code contribution! To guarantee the change/addition is conformant to the OCF Specification, we would like to ask you to execute OCF Conformance Testing of your change ☝️ when your work is ready to be reviewed. ℹ️ To verify your latest change (087ae12), label this PR with |
c06a36c
to
a433c5c
Compare
f6c3e58
to
c6f2ce9
Compare
security/oc_tls.c
Outdated
static int | ||
oc_tls_load_identity_cert_chain(mbedtls_ssl_config *conf, size_t device, | ||
int credid) | ||
#ifndef OC_TEST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just put the declaration outside the OC_TEST
ifdef in the header. oc_tls_validate_identity_certs_consistency
and oc_tls_validate_trust_anchors_consistency
declarations are ifdef-ed in the header because the definitions exist only with OC_TEST
, otherwise internal functions have declarations in internal headers to be available for tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
950880e
to
5f944b2
Compare
6b48361
to
3164dd7
Compare
3164dd7
to
747da8d
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs 82.7% Coverage The version of Java (11.0.14.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
No description provided.