diff options
author | James Housley <jim@thehousleys.net> | 2007-06-19 11:31:33 +0000 |
---|---|---|
committer | James Housley <jim@thehousleys.net> | 2007-06-19 11:31:33 +0000 |
commit | f0b361ecc16b124813cb494e9d193abd442c1be0 (patch) | |
tree | 282b19c6edbb0bdc8f51c5f56a6cc4f2344ed826 /lib/urldata.h | |
parent | df7eed16ddc43255cc1e07dab81ec1e79a44e0fb (diff) |
Change rsa and rsa_pub from static arrays in ssh_conn to be dynamically
allocated when needed
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index d4d0bb05b..f52f96fbd 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -451,8 +451,8 @@ struct SSHPROTO { struct ssh_conn { const char *authlist; /* List of auth. methods, managed by libssh2 */ const char *passphrase; - char rsa_pub[PATH_MAX]; - char rsa[PATH_MAX]; + char *rsa_pub; + char *rsa; bool authed; sshstate state; /* always use ssh.c:state() to change state! */ CURLcode actualCode; /* the actual error code */ |