From 22344f3e03e89f6e666c38157c9356cf8a99c08e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 2 Nov 2011 18:21:49 +0100 Subject: libcli/smb: use the same values for SMB_SIGNING_* as the source3 code uses The source3 code currently uses: #define Undefined (-1) #define False false #define True true #define Required (3) In order to make the rewrite easier we should match the values. metze --- libcli/smb/smb_constants.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h index cd5e77bf78..7c4620aa43 100644 --- a/libcli/smb/smb_constants.h +++ b/libcli/smb/smb_constants.h @@ -88,10 +88,10 @@ enum protocol_types { }; enum smb_signing_setting { - SMB_SIGNING_DEFAULT, - SMB_SIGNING_OFF, - SMB_SIGNING_IF_REQUIRED, - SMB_SIGNING_REQUIRED, + SMB_SIGNING_DEFAULT = -1, + SMB_SIGNING_OFF = 0, + SMB_SIGNING_IF_REQUIRED = 1, + SMB_SIGNING_REQUIRED = 3, }; /* types of buffers in core SMB protocol */ -- cgit