If the management interface is not enabled, it makes no sense in
including the ENABLE_CLIENT_CR #ifdef blocks. This will also in
some configurations cause build issues if these blocks are enabled.
Signed-off-by: Igor Novgorodov <igor@novg.net>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
... | ... |
@@ -713,7 +713,9 @@ socket_defined (const socket_descriptor_t sd) |
713 | 713 |
/* |
714 | 714 |
* Do we support challenge/response authentication as client? |
715 | 715 |
*/ |
716 |
+#if defined(ENABLE_MANAGEMENT) |
|
716 | 717 |
#define ENABLE_CLIENT_CR |
718 |
+#endif |
|
717 | 719 |
|
718 | 720 |
/* |
719 | 721 |
* Do we support pushing peer info? |