diff options
author | Geoff Thorpe <geoff@openssl.org> | 2014-04-25 14:27:02 -0400 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2014-04-25 14:31:05 -0400 |
commit | 76c3ff69377e5acf8a2c00c3957c1f4a3ddb708b (patch) | |
tree | f105e3202369843fd31c491533643661ee6c69f1 /apps/s_apps.h | |
parent | 647f360e2e86818cee1f2d0429e071d14814e0b5 (diff) |
apps: constify some string parameters
There are certainly many more constifiable strings in the various
interfaces, which I hope to get to eventually.
Signed-off-by: Geoff Thorpe <geoff@openssl.org>
Diffstat (limited to 'apps/s_apps.h')
-rw-r--r-- | apps/s_apps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_apps.h b/apps/s_apps.h index ff616d7c00..3b9f9a0cb7 100644 --- a/apps/s_apps.h +++ b/apps/s_apps.h @@ -161,9 +161,9 @@ int ssl_print_point_formats(BIO *out, SSL *s); int ssl_print_curves(BIO *out, SSL *s, int noshared); #endif int ssl_print_tmp_key(BIO *out, SSL *s); -int init_client(int *sock, char *server, int port, int type); +int init_client(int *sock, const char *server, int port, int type); int should_retry(int i); -int extract_port(char *str, short *port_ptr); +int extract_port(const char *str, short *port_ptr); int extract_host_port(char *str,char **host_ptr,unsigned char *ip,short *p); long MS_CALLBACK bio_dump_callback(BIO *bio, int cmd, const char *argp, |