diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-20 11:07:54 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-20 11:07:54 +0200 |
commit | 743a00dad4098f473b23f3b04d9fe6fbf520c7c8 (patch) | |
tree | a7a59f927545eb9904e48d0a7bc5dcbd46aa5648 | |
parent | bb509ce4f7859b43cc3467bcfa20a63b13e82836 (diff) | |
download | libssh-743a00dad4098f473b23f3b04d9fe6fbf520c7c8.tar.gz libssh-743a00dad4098f473b23f3b04d9fe6fbf520c7c8.tar.xz libssh-743a00dad4098f473b23f3b04d9fe6fbf520c7c8.zip |
pki: Fix build warnings.
-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" |