diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-06-21 16:30:17 -0700 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-07-08 04:29:42 +0000 |
commit | aeeb3d2c2e26677758a64db496c86020f99d2f1a (patch) | |
tree | 3337017e28744427743d447d4735c00537783321 /common/ssl_calls.c | |
parent | a680d46edf747ec17456b6b8e69c95bc4e4407cb (diff) | |
download | xrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.tar.gz xrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.zip |
Fix warnings detected by -Wwrite-strings
Diffstat (limited to 'common/ssl_calls.c')
-rw-r--r-- | common/ssl_calls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ssl_calls.c b/common/ssl_calls.c index b7eb6131..3d9e1c2e 100644 --- a/common/ssl_calls.c +++ b/common/ssl_calls.c @@ -111,7 +111,7 @@ ssl_sha1_clear(void *sha1_info) /*****************************************************************************/ void APP_CC -ssl_sha1_transform(void *sha1_info, char *data, int len) +ssl_sha1_transform(void *sha1_info, const char *data, int len) { SHA1_Update((SHA_CTX *)sha1_info, data, len); } @@ -560,7 +560,7 @@ ssl_tls_create(struct trans *trans, const char *key, const char *cert) /*****************************************************************************/ int APP_CC -ssl_tls_print_error(char *func, SSL *connection, int value) +ssl_tls_print_error(const char *func, SSL *connection, int value) { switch (SSL_get_error(connection, value)) { |