Package: libscrypt / 1.22-4

Metadata

Package Version Patches format
libscrypt 1.22-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
hppa.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 libscrypt ftbfs on hppa due to missing fpic flag

fix ldflags lintian.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix lintian issue sharedobject-in-library-directory-missing-soname

sysendian.h fix aliasing violations.patch | (download)

sysendian.h | 102 42 + 60 - 0 !
1 file changed, 42 insertions(+), 60 deletions(-)

 sysendian.h: fix aliasing violations

Accessing a e.g. uint32_t as uint8_t is an aliasing violation. The
helpers here are nearly idiomatic for avoiding that anyway, so fix
them up accordingly.

b64 fix Wold style definition.patch | (download)

b64.c | 11 2 + 9 - 0 !
1 file changed, 2 insertions(+), 9 deletions(-)

 b64: fix -wold-style-definition

Drop K&R decls. Most of the codebase uses ISO decls anyway.

crypto_scrypt nosse fix aliasing violations.patch | (download)

crypto_scrypt-nosse.c | 43 13 + 30 - 0 !
1 file changed, 13 insertions(+), 30 deletions(-)

 crypto_scrypt-nosse: fix aliasing violations

blkcpy was accessing memory as size_t* where it started as uint32_t*
which is an aliasing violation. But just replace it with memcpy rather
than reinventing the wheel.

It turns out this got fixed in scrypt a while ago, so let's do the same
fix as they did: https://github.com/Tarsnap/scrypt/commit/209fd279c9357010d1dabd446c458dfeb9820e6c.

Closes: https://github.com/technion/libscrypt/issues/60