Skip to content

Conversation

@sebastian-carpenter
Copy link
Contributor

WOLFSSL_RSA_PSS_ENCODING macro is not used in wolfSSL but is prefaced with WOLFSSL instead of WP.

Fixed test case for my compiler as well by updating array length to 6.
associated error:

test/test_tls1_prf.c: In function ‘test_tls1_prf_calc’:
test/test_tls1_prf.c:31:30: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (6 chars into 5 available) [-Werror=unterminated-string-initialization]
   31 |     unsigned char label[5] = "Label";
      |                              ^~~~~~~

compiler version: gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)

fixed test case for my compiler as well.
Copy link
Contributor

@padelsbach padelsbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@padelsbach padelsbach merged commit c3f1e50 into wolfSSL:master Aug 1, 2025
262 checks passed
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

Successfully merging this pull request may close these issues.

2 participants