diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-09 10:12:10 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-09 10:12:10 +0000 |
commit | 303c002898915c5636dfa9d295b9de38db65207a (patch) | |
tree | c440e05109738a32759518450db9c4820cbaf302 /crypto/x509/by_dir.c | |
parent | a5ab0532caf9a11f20eeb49b78ddc8e90f64a418 (diff) | |
download | openssl-303c002898915c5636dfa9d295b9de38db65207a.tar.gz |
Use "const char *" instead of "char *" for filenames passed to functions.
Submitted by:
Reviewed by:
PR:
Diffstat (limited to 'crypto/x509/by_dir.c')
-rw-r--r-- | crypto/x509/by_dir.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index 6bcd3a3059..734e39ac77 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -75,7 +75,8 @@ typedef struct lookup_dir_st int num_dirs_alloced; } BY_DIR; -static int dir_ctrl(X509_LOOKUP *ctx,int cmd,char *argp,long argl,char **ret); +static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, + char **ret); static int new_dir(X509_LOOKUP *lu); static void free_dir(X509_LOOKUP *lu); static int add_cert_dir(BY_DIR *ctx,const char *dir,int type); @@ -100,7 +101,7 @@ X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void) return(&x509_dir_lookup); } -static int dir_ctrl(X509_LOOKUP *ctx, int cmd, char *argp, long argl, +static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, char **retp) { int ret=0; |