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:06:32 +0200 |
| commit | 46475dfa2f246c4a831289bc7625c896eafa6458 (patch) | |
| tree | 30a21c5d4194770b60b751776549c4d3c271874f /src/keys.c | |
| parent | 7150cabafa6265ebe7b6d7705b3260462c4810b2 (diff) | |
| download | libssh-46475dfa2f246c4a831289bc7625c896eafa6458.tar.gz libssh-46475dfa2f246c4a831289bc7625c896eafa6458.tar.xz libssh-46475dfa2f246c4a831289bc7625c896eafa6458.zip | |
keys: Fixed issues reported by cppcheck.
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. |
