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

s2n_x509_validator_test test fails on 32-bit systems (i586) #2404

Closed
glaubitz opened this issue Nov 19, 2020 · 1 comment
Closed

s2n_x509_validator_test test fails on 32-bit systems (i586) #2404

glaubitz opened this issue Nov 19, 2020 · 1 comment
Labels

Comments

@glaubitz
Copy link
Contributor

The test s2n_x509_validator_test fails on 32-bit systems such as i586 with:

[  276s] 177/180 Test #180: s2n_x509_validator_test ..........................***Failed    0.02 sec
[  276s] NOTE: Some details are omitted, run with S2N_PRINT_STACKTRACE=1 for a verbose backtrace.
[  276s] See https://github.com/awslabs/s2n/blob/main/docs/USAGE-GUIDE.md
[  276s] FAILED test 172
[  276s] (S2N_CERT_OK) == (s2n_x509_validator_validate_cert_stapled_ocsp_response(&validator, connection, s2n_stuffer_raw_read(&ocsp_data_stuffer, ocsp_data_len), ocsp_data_len)) is not true  (../tests/unit/s2n_x509_validator_test.c line 815)
[  276s] Error Message: 'a safety check failed'
[  276s]  Debug String: 'Error encountered in ../utils/s2n_asn1_time.c line 266'
[  276s]  System Error: Value too large for defined data type (75)
[  276s] Running ../tests/unit/s2n_x509_validator_test.c            ...
@dougch dougch added the type/bug label Dec 1, 2020
@dougch
Copy link
Contributor

dougch commented Dec 6, 2023

Recent example where this is passing. Related to #3977

@dougch dougch closed this as completed Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants