mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 10:27:32 +09:00
partly import changes from tenfourfox:
- #627: M1631583 M1631597 M1636771 M1637222 M1649316 M1651520 (2373458b5) - #627: M1631573 (0abd0fc5d)
This commit is contained in:
parent
84282125cf
commit
75e16e5121
10 changed files with 31511 additions and 31 deletions
|
|
@ -111,7 +111,7 @@ ChaCha20Poly1305_InitContext(ChaCha20Poly1305Context *ctx,
|
|||
PORT_SetError(SEC_ERROR_BAD_KEY);
|
||||
return SECFailure;
|
||||
}
|
||||
if (tagLen == 0 || tagLen > 16) {
|
||||
if (tagLen != 16) {
|
||||
PORT_SetError(SEC_ERROR_INPUT_LEN);
|
||||
return SECFailure;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue