Also exclude the new upstream random_*.c/h entropy helper files, which are unused in our build (we set our own hash salt via XML_SetHashSalt). 03_dont_generate_salt.patch was updated to account for upstream refactoring generate_hash_secret_salt() to return struct sipkey and starting to call ENTROPY_DEBUG() from outside it (in the XML_SetHashSalt paths). The patch now stubs ENTROPY_DEBUG's body rather than #if-0ing the whole function, and wraps the relocated entropy helpers accordingly. In both functions the live code ((void)label; and abort() respectively) is placed above the #if 0 block rather than inside a #else branch, so the actual behavior is immediately visible. Differential Revision: https://phabricator.services.mozilla.com/D296436
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper
|
|
Copyright (c) 2001-2026 Expat maintainers
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
a copy of this software and associated documentation files (the
|
|
"Software"), to deal in the Software without restriction, including
|
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
distribute, sublicense, and/or sell copies of the Software, and to
|
|
permit persons to whom the Software is furnished to do so, subject to
|
|
the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included
|
|
in all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|