Package: golang-github-google-go-pkcs11 / 0.3.0+dfsg-2

Metadata

Package Version Patches format
golang-github-google-go-pkcs11 0.3.0+dfsg-2 3.0 (quilt)

Patch series

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

pkcs11/pkcs11.go | 9 2 + 7 - 0 !
1 file changed, 2 insertions(+), 7 deletions(-)

 replace import of embedded headers with libnss
 The original source contained embedded OASIS Open libraries, which have been
 repacked out. This patch replaces the imports to those removed headers with
 libnss, which provides the same PKCS #11 functionality.


test with local syslog.patch | (download)

pkcs11/pkcs11_test.go | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 test with local syslog
 Instead of using the (nonexistent) syslog at /var/log/syslog, create a
 temporary syslog and use that during testing.


use uint for 32 bit builds.patch | (download)

pkcs11/32bit.go | 9 9 + 0 - 0 !
pkcs11/64bit.go | 9 9 + 0 - 0 !
pkcs11/pkcs11.go | 14 7 + 7 - 0 !
3 files changed, 25 insertions(+), 7 deletions(-)

 use uint for 32-bit builds
 C.malloc accepts C.ulong in 64-bit builds, but C.uint in 32-bit builds.
 This patch ensures the correct type is passed to C.malloc.