Skip to content
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

Clang warnings in ecc25519 #19

Closed
briandw opened this issue Feb 25, 2015 · 1 comment
Closed

Clang warnings in ecc25519 #19

briandw opened this issue Feb 25, 2015 · 1 comment
Assignees

Comments

@briandw
Copy link

briandw commented Feb 25, 2015

I'm seeing these warnings from Xcode 6.3:

/.../wolfssl/wolfcrypt/src/ecc25519.c:153:24: warning: comparison of array 'private_key->k.point' equal to a null pointer is always false [-Wtautological-pointer-compare]
if (private_key->k.point == NULL || public_key->p.point == NULL)
~~~~~~~~~~~~~~~^~~~~ ~~~~
/.../wolfssl/wolfcrypt/src/ecc25519.c:153:55: warning: comparison of array 'public_key->p.point' equal to a null pointer is always false [-Wtautological-pointer-compare]
if (private_key->k.point == NULL || public_key->p.point == NULL)
~~~~~~~~~~~~~~^~~~~ ~~~~

@JacobBarthelmeh
Copy link
Contributor

Thanks for the catch.

abrahamsonn pushed a commit to abrahamsonn/wolfssl that referenced this issue Aug 3, 2018
Add the TPM_BASE_ADDRESS 0xd40000u to all addresses
kojo1 pushed a commit to kojo1/wolfssl that referenced this issue Mar 4, 2022
fix scan-build warning on ConstantCompare
lealem47 pushed a commit to lealem47/wolfssl that referenced this issue Mar 29, 2023
Various async fixes for release prep v3.15.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants