Author: cem
Date: Thu Mar 12 21:26:36 2020
New Revision: 358922
URL: https://svnweb.freebsd.org/changeset/base/358922
Log:
kern_shutdown: Add missing EKCD ifdef
Submitted by: Puneeth Jothaiah <puneethkumar.jothaia AT dell.com>
Reviewed by: bdrewery
Sponsored by: Dell EMC Isilon
Modified:
head/sys/kern/kern_shutdown.c
Modified: head/sys/kern/kern_shutdown.c
==============================================================================
--- head/sys/kern/kern_shutdown.c Thu Mar 12 20:59:00 2020
(r358921)
+++ head/sys/kern/kern_shutdown.c Thu Mar 12 21:26:36 2020
(r358922)
@@ -1231,6 +1231,7 @@ dumper_insert(const struct dumperinfo *di_template, co
#endif
}
if (kda->kda_compression != KERNELDUMP_COMP_NONE) {
+#ifdef EKCD
/*
* We can't support simultaneous unpadded block cipher
* encryption and compression because there is no guarantee the
@@ -1241,6 +1242,7 @@ dumper_insert(const struct dumperinfo *di_template, co
error = EOPNOTSUPP;
goto cleanup;
}
+#endif
newdi->kdcomp = kerneldumpcomp_create(newdi,
kda->kda_compression);
if (newdi->kdcomp == NULL) {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"