summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-08-20 14:55:12 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2010-08-20 14:55:12 -0700
commitd5b15931ee65d248ab43c9a7ba2fac44fec00c31 (patch)
treeaff17f314b07b1782c126b773f35b59ec7dad404 /include
parenta44290a979169726afc380a9cce79bbba0adacde (diff)
downloadds-d5b15931ee65d248ab43c9a7ba2fac44fec00c31.tar.gz
ds-d5b15931ee65d248ab43c9a7ba2fac44fec00c31.tar.xz
ds-d5b15931ee65d248ab43c9a7ba2fac44fec00c31.zip
Bug 616500 - fix coverity Defect Type: Resource leaks issues
CID 12094 - 12136 https://bugzilla.redhat.com/show_bug.cgi?id=616500 coverity 12125 Comment: This function (ldapu_certinfo_save) is not used - just get rid of it Removing unused functions from lib/ldaputil/certmap.c ldapu_certinfo_save, ldapu_certinfo_modify, ldapu_certinfo_delete Also, removing obsolete test codes: lib/ldaputil/utest.
Diffstat (limited to 'include')
-rw-r--r--include/ldaputil/ldaputil.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/ldaputil/ldaputil.h b/include/ldaputil/ldaputil.h
index e9e0fb51..824ad175 100644
--- a/include/ldaputil/ldaputil.h
+++ b/include/ldaputil/ldaputil.h
@@ -116,16 +116,6 @@ NSAPI_PUBLIC extern int ldapu_certmap_init (const char *config_file,
LDAPUCertMapInfo_t
**certmap_default);
-NSAPI_PUBLIC extern int ldapu_certinfo_modify (const char *issuerName,
- const char *issuerDN,
- const LDAPUPropValList_t *propval);
-
-NSAPI_PUBLIC extern int ldapu_certinfo_delete (const char *issuerDN);
-
-NSAPI_PUBLIC extern int ldapu_certinfo_save (const char *fname,
- const char *old_fname,
- const char *tmp_fname);
-
NSAPI_PUBLIC extern int ldapu_list_alloc (LDAPUList_t **list);
NSAPI_PUBLIC extern int ldapu_propval_alloc (const char *prop, const char *val,
LDAPUPropVal_t **propval);