зеркало из https://github.com/github/putty.git
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:
Родитель
108e19e73c
Коммит
e6a60d53be
5
ssh.h
5
ssh.h
|
@ -75,7 +75,10 @@ void share_setup_x11_channel(void *csv, void *chanv,
|
|||
typedef void *Bignum;
|
||||
#endif
|
||||
|
||||
typedef struct ssh_key {} ssh_key;
|
||||
typedef struct ssh_key {
|
||||
int dummy;
|
||||
} ssh_key;
|
||||
|
||||
typedef struct ssh_keyalg ssh_keyalg;
|
||||
|
||||
struct RSAKey {
|
||||
|
|
Загрузка…
Ссылка в новой задаче