libgcrypt: t_secmem fails on system with large page size (ppc64)
Closed, ResolvedPublic

Description

The t_secmem test_secmem() expects that the default secure memory buffer size is 16k but on ppc64 the actual size is 64k due to large page size and the test fails with "allocation did not fail as expected" error.

t8m created this task.Aug 16 2017, 3:06 PM
t8m added a comment.Aug 16 2017, 3:20 PM

proposed patch to fix it

marcus triaged this task as Normal priority.Aug 16 2017, 3:24 PM
marcus added a project: libgcrypt.
gniibe changed the task status from Open to Testing.Nov 9 2017, 3:03 AM

Fixed both for master and 1.8 branch.

gniibe closed this task as Resolved.Dec 12 2018, 7:27 AM