summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki_priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-04-02 13:41:02 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-04-02 13:41:02 +0200
commitdbe7df7571525b2d1ab78c08d2e705c6974ff8b5 (patch)
tree2df560352ec610cf301eeba4deda74f3c1368174 /include/libssh/pki_priv.h
parenta3357b892060d6d534bc8d742d42dc78e58e07ce (diff)
downloadlibssh-dbe7df7571525b2d1ab78c08d2e705c6974ff8b5.tar.gz
libssh-dbe7df7571525b2d1ab78c08d2e705c6974ff8b5.tar.xz
libssh-dbe7df7571525b2d1ab78c08d2e705c6974ff8b5.zip
cmake: Detect __func__ and __FUNCTION__ during configure step
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/pki_priv.h')
-rw-r--r--include/libssh/pki_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 3a91622c..213e147a 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -38,7 +38,7 @@ int bcrypt_pbkdf(const char *pass, size_t passlen, const u_int8_t *salt,
#define OPENSSH_AUTH_MAGIC "openssh-key-v1"
#define ssh_pki_log(...) \
- _ssh_pki_log(__FUNCTION__, __VA_ARGS__)
+ _ssh_log(SSH_LOG_FUNCTIONS, __func__, __VA_ARGS__)
void _ssh_pki_log(const char *function,
const char *format, ...) PRINTF_ATTRIBUTE(2, 3);