Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1674819 - Fixup a51fae403328, enum type may be signed. r=bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D102964

--HG--
extra : moz-landing-system : lando
  • Loading branch information
Kevin Jacobs committed Jan 25, 2021
1 parent bda8540 commit 722c105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ssl/ssl3exthandle.c
Expand Up @@ -921,7 +921,7 @@ ssl_ParseSessionTicket(sslSocket *ss, const SECItem *decryptedTicket,
#ifndef UNSAFE_FUZZER_MODE
PORT_Assert(temp < ssl_auth_size);
#else
temp %= (8 * sizeof(SSLAuthType));
temp %= (8 * sizeof(SSLAuthType)) - 1;
#endif

parsedTicket->authType = (SSLAuthType)temp;
Expand Down

0 comments on commit 722c105

Please sign in to comment.