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 /ssl/ssl_rsa.c | |
parent | a5ab0532caf9a11f20eeb49b78ddc8e90f64a418 (diff) |
Use "const char *" instead of "char *" for filenames passed to functions.
Submitted by:
Reviewed by:
PR:
Diffstat (limited to 'ssl/ssl_rsa.c')
-rw-r--r-- | ssl/ssl_rsa.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 0f87752217..ba0c7f5117 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -82,7 +82,7 @@ int SSL_use_certificate(SSL *ssl, X509 *x) } #ifndef NO_STDIO -int SSL_use_certificate_file(SSL *ssl, char *file, int type) +int SSL_use_certificate_file(SSL *ssl, const char *file, int type) { int j; BIO *in; @@ -253,7 +253,7 @@ static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) #ifndef NO_RSA #ifndef NO_STDIO -int SSL_use_RSAPrivateKey_file(SSL *ssl, char *file, int type) +int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type) { int j,ret=0; BIO *in; @@ -338,7 +338,7 @@ int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) } #ifndef NO_STDIO -int SSL_use_PrivateKey_file(SSL *ssl, char *file, int type) +int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type) { int j,ret=0; BIO *in; @@ -494,7 +494,7 @@ static int ssl_set_cert(CERT *c, X509 *x) } #ifndef NO_STDIO -int SSL_CTX_use_certificate_file(SSL_CTX *ctx, char *file, int type) +int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type) { int j; BIO *in; @@ -591,7 +591,7 @@ int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) } #ifndef NO_STDIO -int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, char *file, int type) +int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) { int j,ret=0; BIO *in; @@ -673,7 +673,7 @@ int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) } #ifndef NO_STDIO -int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, char *file, int type) +int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) { int j,ret=0; BIO *in; |