mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3: libcli: Rename smb_signing_is_negotiated() -> smb1_signing_is_negotiated()
Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: David Mulder <dmulder@samba.org>
This commit is contained in:
parent
7a385775ee
commit
0b391fc19f
@ -492,7 +492,7 @@ bool smb1_signing_set_negotiated(struct smb1_signing_state *si,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool smb_signing_is_negotiated(struct smb1_signing_state *si)
|
||||
bool smb1_signing_is_negotiated(struct smb1_signing_state *si)
|
||||
{
|
||||
return si->negotiated;
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ bool smb1_signing_is_desired(struct smb1_signing_state *si);
|
||||
bool smb1_signing_is_mandatory(struct smb1_signing_state *si);
|
||||
bool smb1_signing_set_negotiated(struct smb1_signing_state *si,
|
||||
bool allowed, bool mandatory);
|
||||
bool smb_signing_is_negotiated(struct smb1_signing_state *si);
|
||||
bool smb1_signing_is_negotiated(struct smb1_signing_state *si);
|
||||
NTSTATUS smb_key_derivation(const uint8_t *KI,
|
||||
size_t KI_len,
|
||||
uint8_t KO[16]);
|
||||
|
@ -283,7 +283,7 @@ bool srv_is_signing_active(struct smbXsrv_connection *conn)
|
||||
|
||||
bool srv_is_signing_negotiated(struct smbXsrv_connection *conn)
|
||||
{
|
||||
return smb_signing_is_negotiated(conn->smb1.signing_state);
|
||||
return smb1_signing_is_negotiated(conn->smb1.signing_state);
|
||||
}
|
||||
|
||||
/***********************************************************
|
||||
@ -300,7 +300,7 @@ void srv_set_signing(struct smbXsrv_connection *conn,
|
||||
if (!user_session_key.length)
|
||||
return;
|
||||
|
||||
negotiated = smb_signing_is_negotiated(conn->smb1.signing_state);
|
||||
negotiated = smb1_signing_is_negotiated(conn->smb1.signing_state);
|
||||
mandatory = smb1_signing_is_mandatory(conn->smb1.signing_state);
|
||||
|
||||
if (!negotiated && !mandatory) {
|
||||
|
Loading…
Reference in New Issue
Block a user