mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-20 20:45:02 -05:00
Add a dummy field to ssh_key structure
According to C standard, the behavior is undefined if structure contains no members.
This commit is contained in:
parent
108e19e73c
commit
e6a60d53be
5
ssh.h
5
ssh.h
@ -75,7 +75,10 @@ void share_setup_x11_channel(void *csv, void *chanv,
|
|||||||
typedef void *Bignum;
|
typedef void *Bignum;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct ssh_key {} ssh_key;
|
typedef struct ssh_key {
|
||||||
|
int dummy;
|
||||||
|
} ssh_key;
|
||||||
|
|
||||||
typedef struct ssh_keyalg ssh_keyalg;
|
typedef struct ssh_keyalg ssh_keyalg;
|
||||||
|
|
||||||
struct RSAKey {
|
struct RSAKey {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user