We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just compiled polarssl-1.3.2 with Linux gcc compiler flag -Wlogical-op. It said
polarssl-1.3.2/library/x509_crt.c:1276:9: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op] polarssl-1.3.2/library/x509_crt.c:1279:9: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op]
Source code is
if( ( n1[i] >= 'a' || n1[i] <= 'z' ) && ( diff == 0 || diff == 32 ) ) continue; if( ( n1[i] >= 'A' || n1[i] <= 'Z' ) && ( diff == 0 || diff == 32 ) ) continue;
Suggest swap || for && in the a..z checks.
The text was updated successfully, but these errors were encountered:
Thanks for the report. A bit more was 'wrong'. No impact for current use. Fixed in our branch for the next release.
Sorry, something went wrong.
Merge pull request Mbed-TLS#38 from gilles-peskine-arm/psa-crypto-api…
2f74f33
…-1.0-beta-docs API specifications at version 1.0 beta1
Merge pull request Mbed-TLS#38 from Mbed-TLS/dev/minos/minor/code_wra…
e8b4ae9
…ppers_fix_identation c_wrapper_generator: Increased robustness of whitespace capture.
No branches or pull requests
I just compiled polarssl-1.3.2 with Linux gcc compiler flag -Wlogical-op.
It said
polarssl-1.3.2/library/x509_crt.c:1276:9: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op]
polarssl-1.3.2/library/x509_crt.c:1279:9: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op]
Source code is
Suggest swap || for && in the a..z checks.
The text was updated successfully, but these errors were encountered: