diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-07-29 12:51:35 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-08-04 17:02:48 +0200 |
commit | 69b017f66b2b743c827fe885aa575066fef71ec9 (patch) | |
tree | 6e0773ed665da26bc58267733436d15cad6c25d4 /apps | |
parent | f48ebf9f4cc5be2624389583be19f1c8895be194 (diff) |
Constify two internal methods
- append_ia5
- old_entry_print
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ca.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,7 +131,7 @@ static int do_updatedb(CA_DB *db); 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); -static int old_entry_print(ASN1_OBJECT *obj, ASN1_STRING *str); +static int old_entry_print(const ASN1_OBJECT *obj, const ASN1_STRING *str); static CONF *extconf = NULL; static int preserve = 0; @@ -2412,7 +2412,7 @@ int make_revoked(X509_REVOKED *rev, const char *str) return ret; } -static int old_entry_print(ASN1_OBJECT *obj, ASN1_STRING *str) +static int old_entry_print(const ASN1_OBJECT *obj, const ASN1_STRING *str) { char buf[25], *pbuf, *p; int j; |