Mageia Bugzilla – Attachment 12895 Details for
Bug 29345
[NEW PKG REQUEST] python3-libnacl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
libacl patch
libacl_issue_126.patch (text/plain), 541 bytes, created by
Kristoffer Grundström
on 2021-08-09 00:30:37 CEST
(
hide
)
Description:
libacl patch
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2021-08-09 00:30:37 CEST
Size:
541 bytes
patch
obsolete
>https://github.com/saltstack/libnacl/issues/126 >--- ./libnacl/__init__.py.orig 2020-11-03 21:35:02.000000000 +0000 >+++ ./libnacl/__init__.py 2021-05-07 01:10:06.033746926 +0100 >@@ -1195,7 +1195,7 @@ def crypto_kdf_derive_from_key(subkey_si > """ > size = int(subkey_size) > buf = ctypes.create_string_buffer(size) >- nacl.crypto_kdf_derive_from_key(buf, subkey_size, subkey_id, context, master_key) >+ nacl.crypto_kdf_derive_from_key(buf, subkey_size, ctypes.c_ulonglong(subkey_id), context, master_key) > return buf.raw > >
https://github.com/saltstack/libnacl/issues/126 --- ./libnacl/__init__.py.orig 2020-11-03 21:35:02.000000000 +0000 +++ ./libnacl/__init__.py 2021-05-07 01:10:06.033746926 +0100 @@ -1195,7 +1195,7 @@ def crypto_kdf_derive_from_key(subkey_si """ size = int(subkey_size) buf = ctypes.create_string_buffer(size) - nacl.crypto_kdf_derive_from_key(buf, subkey_size, subkey_id, context, master_key) + nacl.crypto_kdf_derive_from_key(buf, subkey_size, ctypes.c_ulonglong(subkey_id), context, master_key) return buf.raw
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29345
:
12894
| 12895