aboutsummaryrefslogtreecommitdiffstats
path: root/apps/apps.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-06-02 12:10:06 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-06-02 12:10:06 +0000
commitc451bd828fce49835edbfc66575db9549665a05e (patch)
tree976f74fb9df6dc417d251203118a2030ee6920ce /apps/apps.h
parent8ecfbedd850b94aeb616bbbc39f94c5a215d98e3 (diff)
downloadopenssl-c451bd828fce49835edbfc66575db9549665a05e.tar.gz
Avoid case in ca.c fix.
Diffstat (limited to 'apps/apps.h')
-rw-r--r--apps/apps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h
index 6b7ff550d2..bcf597f3ef 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -294,6 +294,9 @@ int index_index(CA_DB *db);
int save_index(const char *dbfile, const char *suffix, CA_DB *db);
int rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix);
void free_index(CA_DB *db);
+#define index_name_cmp_noconst(a, b) \
+ index_name_cmp((const CSTRING *)CHECKED_PTR_OF(STRING, a), \
+ (const CSTRING *)CHECKED_PTR_OF(STRING, b))
int index_name_cmp(const CSTRING *a, const CSTRING *b);
int parse_yesno(const char *str, int def);