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

Source code ecdh.c: potentially uninitialized local pointer variable #123

Open
ghost opened this issue Jul 7, 2023 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Jul 7, 2023

Hi all I am now working with the provided ecdh.c and ecdh.h codes.
I didn't change any thing but the error shows:
potentially uninitialized local pointer variable 'q' used ecdh.c line 624
potentially uninitialized local pointer variable 'a' used ecdh.c line 624
potentially uninitialized local pointer variable 'b' used ecdh.c line 624
potentially uninitialized local pointer variable 'r' used ecdh.c line 632
...... an so on. All the same type of error.
Perhaps the code should be updated? I would appreciate for any suggestions or tips!

@ghost
Copy link
Author

ghost commented Jul 7, 2023

I just copy the all initialization parts before the if(). Then it should works. Hopes that is helpful to anyone meet the same problem.

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

0 participants