Closed Bug 1980465 Opened 1 year ago Closed 10 months ago

Certificate compression in selfserv / tstclnt not working on s390x (big-endian)

Categories

(NSS :: Tools, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: asosedkin, Unassigned, NeedInfo)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:141.0) Gecko/20100101 Firefox/141.0

Steps to reproduce:

Compiled nss 3.112 certificate and found its certificate compression not interoperable with gnutls, openssl and tlsfuzzer (https://github.com/tlsfuzzer/tlsfuzzer/blob/master/scripts/test-tls13-certificate-verify.py)

Actual results:

I was handshake_failure alerts when NSS tried to compress a cert, apparently due to compression output being 0 bytes after what I believe is a problematic cast on the second parameter of zlib's compress().

Expected results:

Certificate compression should interoperate with the other implementations.

Attachment #9504340 - Attachment description: Bug 1980465 - Certificate compression in selfserv / tstclnt not working on s390x (big-endian). r=fkrenzel → Bug 1980465 - Fix a big-endian-problematic cast in zlib calls. r=fkrenzel
Component: Libraries → Tools
Blocks: 1548723
Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED

Should this be uplifted to the ESR version? Looks like the same code there.

Flags: needinfo?(anna.weine)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: