From 988350ccefbe8f22eb1814e071386ef2dfe6d6dd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 21 Jan 2013 10:45:10 +1100 Subject: [PATCH] libcli/auth: fix void function cannot return value error Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Jan 22 22:32:31 CET 2013 on sn-devel-104 --- libcli/auth/credentials.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcli/auth/credentials.c b/libcli/auth/credentials.c index 9d3df9f523e..2f143745e8d 100644 --- a/libcli/auth/credentials.c +++ b/libcli/auth/credentials.c @@ -583,7 +583,7 @@ void netlogon_creds_decrypt_samlogon_validation(struct netlogon_creds_Credential uint16_t validation_level, union netr_Validation *validation) { - return netlogon_creds_crypt_samlogon_validation(creds, validation_level, + netlogon_creds_crypt_samlogon_validation(creds, validation_level, validation, false); } @@ -591,7 +591,7 @@ void netlogon_creds_encrypt_samlogon_validation(struct netlogon_creds_Credential uint16_t validation_level, union netr_Validation *validation) { - return netlogon_creds_crypt_samlogon_validation(creds, validation_level, + netlogon_creds_crypt_samlogon_validation(creds, validation_level, validation, true); }