From a75ca8d5d515aef1229acf5a30489ee5f5ced3e1 Mon Sep 17 00:00:00 2001 From: Isaac Boukris Date: Thu, 21 Nov 2019 14:02:03 +0100 Subject: session: convert sess_crypt_blob to use gnutls Signed-off-by: Isaac Boukris Reviewed-by: Andrew Bartlett --- libcli/auth/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcli/auth/proto.h') 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); -- cgit v1.2.1