lib: Make callers of base64_encode_data_blob check for success
authorVolker Lendecke <vl@samba.org>
Tue, 3 May 2016 13:54:07 +0000 (15:54 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 3 May 2016 23:28:23 +0000 (01:28 +0200)
commitcf5a81013d2dbc62cacaa0141c9ee6b53e13cb39
treec1de70250a1ed67910a714d9aff133d29d5414b8
parentf457535e33a35754c069232cb7a27556569b970c
lib: Make callers of base64_encode_data_blob check for success

Quite a few callers already did check for !=NULL. With the current code this is
pointless due to a SMB_ASSERT in base64_encode_data_blob() itself. Make the
callers consistently check, so that we can remove SMB_ASSERT from base64.c.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libnet/libnet_dssync_passdb.c
source3/libnet/libnet_samsync_passdb.c
source3/rpc_server/samr/srv_samr_util.c
source3/utils/ntlm_auth.c
source4/utils/ntlm_auth.c