aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/nss/nss_3.57.bb
AgeCommit message (Collapse)Author
2021-03-07nss: Fix warnings generated by getcwdAndrei Gherzan
getcwd() conforms to POSIX.1-2001 which leaves the behaviour when the buf argument is NULL, undefined. This makes gcc 10+ throw the following warning: argument 1 is null but the corresponding size argument 2 value is 4096 Initially, this was fixed by disabling NSS_ENABLE_WERROR. This patch re-enables NSS_ENABLE_WERROR (by leaving it to its default value) and takes advantage of the existing functionality in nss that wraps the getcwd call into a function making sure that the buf argument is always properly allocated. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit dad2aef6be76564103952e0ad78a7d666b49f72e) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-10-19nss: upgrade 3.56 -> 3.57Andrej Valek
- Refresh freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch - Drop pkix-Do-not-use-NULL-where-0-is-needed.patch Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com> Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>