diff options
author | Günther Deschner <gd@samba.org> | 2015-11-13 11:15:41 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-12-10 08:49:20 +0100 |
commit | 39ec70862214a9810cbbb63f7e99daecbeed6608 (patch) | |
tree | 5184120cad5bfab774578b751af6a1680dd52760 /source4/torture/ndr | |
parent | 2f16675a2294c8197ad45862c3e8a4fa2061d2e9 (diff) | |
download | samba-39ec70862214a9810cbbb63f7e99daecbeed6608.tar.gz |
s4-torture: make sure we always verify ndr pull and push of bkrp_exported_RSA_key_pair struct.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/torture/ndr')
-rw-r--r-- | source4/torture/ndr/backupkey.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/torture/ndr/backupkey.c b/source4/torture/ndr/backupkey.c index bc9aa7944a6..972d676d3e4 100644 --- a/source4/torture/ndr/backupkey.c +++ b/source4/torture/ndr/backupkey.c @@ -154,7 +154,11 @@ struct torture_suite *ndr_backupkey_suite(TALLOC_CTX *ctx) { struct torture_suite *suite = torture_suite_create(ctx, "backupkey"); - torture_suite_add_ndr_pull_fn_test(suite, bkrp_exported_RSA_key_pair, exported_rsa_ndr, NDR_BUFFERS|NDR_SCALARS, NULL); + torture_suite_add_ndr_pullpush_test(suite, + bkrp_exported_RSA_key_pair, + data_blob_const(exported_rsa_ndr, + sizeof(exported_rsa_ndr)), + NULL); return suite; } |