diff options
author | Oliver Stöneberg <oliverst@online.de> | 2011-04-11 11:06:32 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-04-11 11:19:18 +0200 |
commit | db49b84a44b07bd5560dc03758452740eae79932 (patch) | |
tree | 9ed2ec1c23b7e6f565ccc4307d4ab6f8d3ab8479 /src/keys.c | |
parent | c5f4b8c1c7658259551ae7b8355885a688512768 (diff) | |
download | libssh-db49b84a44b07bd5560dc03758452740eae79932.tar.gz libssh-db49b84a44b07bd5560dc03758452740eae79932.tar.xz libssh-db49b84a44b07bd5560dc03758452740eae79932.zip |
keys: Fixed issues reported by cppcheck.
(cherry picked from commit 46475dfa2f246c4a831289bc7625c896eafa6458)
Diffstat (limited to 'src/keys.c')
-rw-r--r-- | src/keys.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -597,7 +597,9 @@ error: ssh_string_free(n); return rc; +#if defined(HAVE_LIBGCRYPT) || defined(HAVE_LIBCRYPTO) } +#endif #ifdef HAVE_LIBGCRYPT static int rsa_public_to_string(gcry_sexp_t key, ssh_buffer buffer) { @@ -665,7 +667,9 @@ error: ssh_string_free(n); return rc; +#if defined(HAVE_LIBGCRYPT) || defined(HAVE_LIBCRYPTO) } +#endif /** * @brief Convert a public_key object into a a SSH string. |