diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-12-24 22:20:09 -0800 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2017-02-02 21:39:10 -0800 |
commit | 35d7a0b34f4b32d30804e82308f189787ebfe365 (patch) | |
tree | af3307aa1e0a867192dfb09d54f53f9e43558aa0 /keygen | |
parent | 6a3f0a75bdc700447b74c8716e5b8c728a00f019 (diff) | |
download | xrdp-proprietary-35d7a0b34f4b32d30804e82308f189787ebfe365.tar.gz xrdp-proprietary-35d7a0b34f4b32d30804e82308f189787ebfe365.zip |
Constify all input string arguments in keygen.c
Diffstat (limited to 'keygen')
-rw-r--r-- | keygen/keygen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keygen/keygen.c b/keygen/keygen.c index 12970100..7ec1f9fe 100644 --- a/keygen/keygen.c +++ b/keygen/keygen.c @@ -206,7 +206,7 @@ out_params(void) /*****************************************************************************/ /* this is the special key signing algorithm */ static int APP_CC -sign_key(char *e_data, int e_len, char *n_data, int n_len, +sign_key(const char *e_data, int e_len, const char *n_data, int n_len, char *sign_data, int sign_len) { char *key; @@ -282,7 +282,7 @@ sign_key(char *e_data, int e_len, char *n_data, int n_len, /*****************************************************************************/ static int APP_CC -write_out_line(int fd, const char *name, char *data, int len) +write_out_line(int fd, const char *name, const char *data, int len) { int max; int error; @@ -334,8 +334,8 @@ write_out_line(int fd, const char *name, char *data, int len) /*****************************************************************************/ static int APP_CC -save_all(char *e_data, int e_len, char *n_data, int n_len, - char *d_data, int d_len, char *sign_data, int sign_len, +save_all(const char *e_data, int e_len, const char *n_data, int n_len, + const char *d_data, int d_len, const char *sign_data, int sign_len, const char *path_and_file_name) { int fd; |