summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-02 18:21:49 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-03 16:55:12 +0100
commit22344f3e03e89f6e666c38157c9356cf8a99c08e (patch)
treef83aa572af288255c6c8fdccba728741e9f8e2ad /libcli/smb
parent812c3dc80a8c5f05f4e17af3c0cb4507a57703e0 (diff)
downloadsamba-22344f3e03e89f6e666c38157c9356cf8a99c08e.tar.gz
samba-22344f3e03e89f6e666c38157c9356cf8a99c08e.tar.bz2
samba-22344f3e03e89f6e666c38157c9356cf8a99c08e.zip
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
Diffstat (limited to 'libcli/smb')
-rw-r--r--libcli/smb/smb_constants.h8
1 files 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 */