Finish removal of iconv_convenience in public API's.
[mat/samba.git] / source4 / lib / registry / tests / hive.c
index 905b9a97efc46074067468c235255a6e613da927..4ae9a5bcbf5d48c854c9370bd1bceaa04fb7294d 100644 (file)
@@ -435,8 +435,7 @@ static bool hive_setup_regf(struct torture_context *tctx, void **data)
 
        rmdir(dirname);
 
-       error = reg_create_regf_file(tctx, lp_iconv_convenience(tctx->lp_ctx),
-                                    dirname, 5, &key);
+       error = reg_create_regf_file(tctx, dirname, 5, &key);
        if (!W_ERROR_IS_OK(error)) {
                fprintf(stderr, "Unable to create new regf file\n");
                return false;