From dc1e341f5a3218ad177122f6f7cf2083f1a2d463 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 24 Dec 2016 22:44:33 -0800 Subject: Constify input arguments of ssl_mod_exp() and ssl_gen_key_xrdp1() --- common/ssl_calls.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/ssl_calls.h') diff --git a/common/ssl_calls.h b/common/ssl_calls.h index 38eaeec2..258e9848 100644 --- a/common/ssl_calls.h +++ b/common/ssl_calls.h @@ -75,10 +75,10 @@ ssl_hmac_transform(void *hmac, const char *data, int len); void APP_CC ssl_hmac_complete(void *hmac, char *data, int len); int APP_CC -ssl_mod_exp(char* out, int out_len, char* in, int in_len, - char* mod, int mod_len, char* exp, int exp_len); +ssl_mod_exp(char *out, int out_len, const char *in, int in_len, + const char *mod, int mod_len, const char *exp, int exp_len); int APP_CC -ssl_gen_key_xrdp1(int key_size_in_bits, char* exp, int exp_len, +ssl_gen_key_xrdp1(int key_size_in_bits, const char* exp, int exp_len, char* mod, int mod_len, char* pri, int pri_len); /* ssl_tls */ -- cgit v1.2.1