summaryrefslogtreecommitdiff
path: root/libcli/auth/proto.h
diff options
context:
space:
mode:
authorIsaac Boukris <iboukris@gmail.com>2019-11-21 14:02:03 +0100
committerAndrew Bartlett <abartlet@samba.org>2019-12-10 00:30:31 +0000
commita75ca8d5d515aef1229acf5a30489ee5f5ced3e1 (patch)
tree53a8cf942308f59756900885d5e5b46d25729990 /libcli/auth/proto.h
parentdcc33103d5c0927bb3757974d4663df888dce95e (diff)
downloadsamba-a75ca8d5d515aef1229acf5a30489ee5f5ced3e1.tar.gz
session: convert sess_crypt_blob to use gnutls
Signed-off-by: Isaac Boukris <iboukris@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/auth/proto.h')
-rw-r--r--libcli/auth/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h
index 4c6d7af6763..09ff3687fb7 100644
--- a/libcli/auth/proto.h
+++ b/libcli/auth/proto.h
@@ -90,8 +90,8 @@ union netr_LogonLevel *netlogon_creds_shallow_copy_logon(TALLOC_CTX *mem_ctx,
/* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/session.c */
-void sess_crypt_blob(DATA_BLOB *out, const DATA_BLOB *in, const DATA_BLOB *session_key,
- bool forward);
+int sess_crypt_blob(DATA_BLOB *out, const DATA_BLOB *in, const DATA_BLOB *session_key,
+ enum samba_gnutls_direction encrypt);
DATA_BLOB sess_encrypt_string(const char *str, const DATA_BLOB *session_key);
char *sess_decrypt_string(TALLOC_CTX *mem_ctx,
DATA_BLOB *blob, const DATA_BLOB *session_key);