summaryrefslogtreecommitdiff
path: root/gconfig.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-10-13 13:04:10 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-10-13 13:04:10 +0000
commit8bad57de823fc72394145f4a29678b4b72b8ed7a (patch)
tree6c09c9aa255163f084b803d423263d2109810b56 /gconfig.c
parent5f17b7649939aa0594420e6b75ae3df58ed82ee9 (diff)
support for checking certificate policy oids
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@426 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'gconfig.c')
-rw-r--r--gconfig.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gconfig.c b/gconfig.c
index 53d8c1e..5f16b8c 100644
--- a/gconfig.c
+++ b/gconfig.c
@@ -189,6 +189,16 @@ int popgconf(struct gconffile **cf) {
return 1;
}
+void freegconfmstr(char **mstr) {
+ int i;
+
+ if (mstr) {
+ for (i = 0; mstr[i]; i++)
+ free(mstr[i]);
+ free(mstr);
+ }
+}
+
void freegconf(struct gconffile **cf) {
int i;