]> git.michaelhowe.org Git - packages/o/openafs.git/commit
aklog: Fix weak_crypto tests
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 6 Sep 2010 08:37:23 +0000 (09:37 +0100)
committerDerrick Brashear <shadow@dementia.org>
Fri, 18 Feb 2011 14:14:49 +0000 (06:14 -0800)
commit7a3c6b7c5e442f1060bf46119bd1df9c7d2e2a97
treede2ab563d90f0539856e2e310b039c218c44d949
parentbf0f3dbd06bd73aeb7333f357708b2ad07918520
aklog: Fix weak_crypto tests

The tests for the various ways of enabling weak cryptography fail
with current Heimdal master, because it defines krb5_allow_weak_crypto
but does not prototype it.

Fix this by testing for the Heimdal version (which MIT does not provide)
first, and only if that's not available, try to use allow_weak_crypto.

Reviewed-on: http://gerrit.openafs.org/2739
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 696e1c015eeef259451c101813b9e930e402cb49)

Change-Id: Ia69e1899f1e3d058271f147d33b58383ca35b4ec
Reviewed-on: http://gerrit.openafs.org/3985
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/aklog/aklog.c
src/aklog/klog.c