Skip to content

GI issue fix use size_t instead of long int#10091

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
rlm2002:gi10063Xchacha
Mar 30, 2026
Merged

GI issue fix use size_t instead of long int#10091
douzzer merged 1 commit intowolfSSL:masterfrom
rlm2002:gi10063Xchacha

Conversation

@rlm2002
Copy link
Copy Markdown
Contributor

@rlm2002 rlm2002 commented Mar 27, 2026

Description

remove long int casts that would cause truncation if long int is 32-bit but size_t is 64-bit in wc_XChaCha20Poly1305_crypt_oneshot()

Fixes issue 15 in GI#10063

Testing

./configure --enable-all && make check

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@rlm2002 rlm2002 self-assigned this Mar 27, 2026
@rlm2002 rlm2002 marked this pull request as ready for review March 27, 2026 18:21
@rlm2002 rlm2002 added the For This Release Release version 5.9.1 label Mar 27, 2026
@rlm2002
Copy link
Copy Markdown
Contributor Author

rlm2002 commented Mar 27, 2026

retest this please Jenkins - PRB-FIPS-windows-test-ACVP failed, PRB-generic-config-parser aborted

@rlm2002 rlm2002 changed the title use size_t instead of long int GI issue fix use size_t instead of long int Mar 27, 2026
@rlm2002 rlm2002 assigned wolfSSL-Bot and unassigned rlm2002 Mar 27, 2026
@douzzer douzzer added the Staged Staged for merge pending final test results and review label Mar 30, 2026
@douzzer douzzer merged commit edb4b28 into wolfSSL:master Mar 30, 2026
563 of 565 checks passed
@rlm2002 rlm2002 deleted the gi10063Xchacha branch March 31, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.1 Staged Staged for merge pending final test results and review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants