diff options
-rw-r--r-- | include/libssh/pki.h | 2 | ||||
-rw-r--r-- | src/ecdh.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h index 20fb7c9..f4dc950 100644 --- a/include/libssh/pki.h +++ b/include/libssh/pki.h @@ -46,7 +46,7 @@ struct ssh_key_struct { void *cert; }; -void ssh_pki_log(const char *format, ...); +void ssh_pki_log(const char *format, ...) PRINTF_ATTRIBUTE(1, 2); /* internal pki functions */ ssh_key pki_key_dup(const ssh_key key, int demote); @@ -22,6 +22,7 @@ #include "config.h" #include "libssh/session.h" #include "libssh/ecdh.h" +#include "libssh/dh.h" #include "libssh/buffer.h" #include "libssh/ssh2.h" |