From: Benjamin Kaduk Date: Tue, 6 Dec 2016 22:07:40 +0000 (-0500) Subject: Update libafsdep files for in-kernel fortuna X-Git-Tag: openafs-stable-1_8_0pre1~3 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=35f2b8cd49477b10cf358d853f5864b8ad24ba03 Update libafsdep files for in-kernel fortuna Commit 0d67b00ff9db added heimdal's rand-fortuna PRNG to the kernel module on all architectures, even though it is only needed on the small subset that do not provide a cryptographically strong random number generator to kernel module consumers. This was done to ensure that the build infrastructure for it gets regularly exercised by developers. However, not all build infrastructure was exercised at the time of that submission; in particular, the make_libafs_tree.pl script was not tested. This led to a situation where the libafs tree generated by that script omitted several files that were now referenced by the kernel build due to the fortuna import. To remedy the situation, list the additional files that are needed, so that they will be copied into the build area for this class of kernel module builds. Since the libafs-tree functionality is used to build the Debian kernel-module source packages, this fix is needed in order to have a tree that can be built into debian packages without patching. Change-Id: I81502fb61d7fc718d337c5f73a51b88f6a433d6a Reviewed-on: https://gerrit.openafs.org/12473 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- diff --git a/src/crypto/hcrypto/kernel/libafsdep b/src/crypto/hcrypto/kernel/libafsdep index 0a8aac6..8e6bbc1 100644 --- a/src/crypto/hcrypto/kernel/libafsdep +++ b/src/crypto/hcrypto/kernel/libafsdep @@ -8,4 +8,7 @@ roken.h krb5-types.h evp-algs.c rand.c +rand-timer.c evp-hcrypto.h +strcasecmp.c +heim_threads.h diff --git a/src/external/libafsdep b/src/external/libafsdep index 09059b4..fb365df 100644 --- a/src/external/libafsdep +++ b/src/external/libafsdep @@ -12,6 +12,10 @@ heimdal/hcrypto/crypto-data.c heimdal/hcrypto/crypto-evp.c heimdal/hcrypto/crypto-keyblock.c heimdal/hcrypto/crypto-store-int.c +heimdal/hcrypto/rand.h +heimdal/hcrypto/randi.h +heimdal/hcrypto/rand-fortuna.c +heimdal/hcrypto/sha256.c heimdal/krb5/n-fold.c heimdal/krb5/crypto.[ch] heimdal/krb5/crypto-aes.c