Skip to content

Fix maybe-uninitialized warning #3

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

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions programs/psa/key_ladder_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ static psa_status_t wrap_data( const char *input_file_name,
FILE *output_file = NULL;
long input_position;
size_t input_size;
size_t buffer_size;
size_t buffer_size = 0;
unsigned char *buffer = NULL;
size_t ciphertext_size;
wrapped_data_header_t header;
Expand Down Expand Up @@ -469,7 +469,7 @@ static psa_status_t unwrap_data( const char *input_file_name,
FILE *input_file = NULL;
FILE *output_file = NULL;
unsigned char *buffer = NULL;
size_t ciphertext_size;
size_t ciphertext_size = 0;
size_t plaintext_size;
wrapped_data_header_t header;
unsigned char extra_byte;
Expand Down