diff options
Diffstat (limited to 'debian/patches/reset-rng.patch')
-rw-r--r-- | debian/patches/reset-rng.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/reset-rng.patch b/debian/patches/reset-rng.patch new file mode 100644 index 0000000..add97a6 --- /dev/null +++ b/debian/patches/reset-rng.patch @@ -0,0 +1,38 @@ +Description: <short summary of the patch> + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + libica (2.6.1-3) yakkety; urgency=medium + . + * Cherry-pick upstream patch to stop reseeding global DRBG instance on + every call. LP: #1608954 +Author: Dimitri John Ledkov <xnox@ubuntu.com> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1608954 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: https://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- libica-2.6.1.orig/src/tests/icastats_test.c ++++ libica-2.6.1/src/tests/icastats_test.c +@@ -87,6 +87,8 @@ int main (int argc, char **argv) + * Reset Counters + **/ + system("icastats -r"); ++ sha512_switch = 0; ++ sha512_drng_switch = 0; + rc = ica_random_number_generate(AES_CIPHER_BLOCK, ctr); + if (rc) + exit(handle_ica_error(rc, "ica_random_number_generate")); |