aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2017-11-10 17:35:38 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-03-21 20:40:02 +0100
commit16217454d576511f37f39c3169963629f9d5082f (patch)
tree231faa6d8e19eeec23e0d591b8a8af0e3f675055 /include/libssh/crypto.h
parent7e1e0e5098beeaf926dc53e35f9e9f35915d5515 (diff)
downloadlibssh-16217454d576511f37f39c3169963629f9d5082f.tar.gz
libssh-16217454d576511f37f39c3169963629f9d5082f.tar.xz
libssh-16217454d576511f37f39c3169963629f9d5082f.zip
crypto: Change the type of server_pubkey to ssh_key
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index 81915e20..fab39ed1 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -109,8 +109,7 @@ struct ssh_crypto_struct {
struct ssh_cipher_struct *in_cipher, *out_cipher; /* the cipher structures/objects */
enum ssh_hmac_e in_hmac, out_hmac; /* the MAC algorithms used */
- ssh_string server_pubkey;
- const char *server_pubkey_type;
+ ssh_key server_pubkey;
int do_compress_out; /* idem */
int do_compress_in; /* don't set them, set the option instead */
int delayed_compress_in; /* Use of zlib@openssh.org */