From 7c337e00d23ac421ff1949ac1bbce2e8b718299e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 16 Mar 2008 20:59:10 +0000 Subject: Fix some warnings. --- apps/ca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/ca.c') diff --git a/apps/ca.c b/apps/ca.c index 291f16487a..b6d871dcb9 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -226,7 +226,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst, static int do_revoke(X509 *x509, CA_DB *db, int ext, char *extval); static int get_certificate_status(const char *ser_status, CA_DB *db); static int do_updatedb(CA_DB *db); -static int check_time_format(char *str); +static int check_time_format(const char *str); char *make_revocation_str(int rev_type, char *rev_arg); int make_revoked(X509_REVOKED *rev, const char *str); int old_entry_print(BIO *bp, ASN1_OBJECT *obj, ASN1_STRING *str); @@ -2384,7 +2384,7 @@ static int fix_data(int nid, int *type) return(1); } -static int check_time_format(char *str) +static int check_time_format(const char *str) { ASN1_UTCTIME tm; -- cgit v1.2.3