diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:24:20 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:24:20 -0700 |
commit | 39971fff27f71b514308d10d7a2d8c3fb58c2420 (patch) | |
tree | 101f2adac9ef41af17579d22f6ddd56ada62ce5d /librpc/gen_ndr/schannel.h | |
parent | 23676b6e9e8aad0ac2aa78d04e65f637b4551527 (diff) | |
parent | e71d9728f52e969e07927c5b38fa062c6ef6d1eb (diff) | |
download | samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.tar.gz samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.tar.bz2 samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.zip |
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'librpc/gen_ndr/schannel.h')
-rw-r--r-- | librpc/gen_ndr/schannel.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/librpc/gen_ndr/schannel.h b/librpc/gen_ndr/schannel.h index c07212fea6..4aab8243af 100644 --- a/librpc/gen_ndr/schannel.h +++ b/librpc/gen_ndr/schannel.h @@ -25,8 +25,8 @@ struct netlogon_creds_CredentialState { enum NL_AUTH_MESSAGE_TYPE #ifndef USE_UINT_ENUMS { - NL_NEGOTIATE_REQUEST=0x00000000, - NL_NEGOTIATE_RESPONSE=0x00000001 + NL_NEGOTIATE_REQUEST=(int)(0x00000000), + NL_NEGOTIATE_RESPONSE=(int)(0x00000001) } #else { __donnot_use_enum_NL_AUTH_MESSAGE_TYPE=0x7FFFFFFF} @@ -65,8 +65,8 @@ struct NL_AUTH_MESSAGE { enum NL_SIGNATURE_ALGORITHM #ifndef USE_UINT_ENUMS { - NL_SIGN_HMAC_SHA256=0x0013, - NL_SIGN_HMAC_MD5=0x0077 + NL_SIGN_HMAC_SHA256=(int)(0x0013), + NL_SIGN_HMAC_MD5=(int)(0x0077) } #else { __donnot_use_enum_NL_SIGNATURE_ALGORITHM=0x7FFFFFFF} @@ -78,9 +78,9 @@ enum NL_SIGNATURE_ALGORITHM enum NL_SEAL_ALGORITHM #ifndef USE_UINT_ENUMS { - NL_SEAL_AES128=0x001A, - NL_SEAL_RC4=0x007A, - NL_SEAL_NONE=0xFFFF + NL_SEAL_AES128=(int)(0x001A), + NL_SEAL_RC4=(int)(0x007A), + NL_SEAL_NONE=(int)(0xFFFF) } #else { __donnot_use_enum_NL_SEAL_ALGORITHM=0x7FFFFFFF} |