aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-20 11:07:54 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-20 11:07:54 +0200
commit743a00dad4098f473b23f3b04d9fe6fbf520c7c8 (patch)
treea7a59f927545eb9904e48d0a7bc5dcbd46aa5648 /include/libssh/pki.h
parentbb509ce4f7859b43cc3467bcfa20a63b13e82836 (diff)
downloadlibssh-743a00dad4098f473b23f3b04d9fe6fbf520c7c8.tar.gz
libssh-743a00dad4098f473b23f3b04d9fe6fbf520c7c8.tar.xz
libssh-743a00dad4098f473b23f3b04d9fe6fbf520c7c8.zip
pki: Fix build warnings.
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 20fb7c96..f4dc9502 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);