summaryrefslogtreecommitdiff
path: root/cipher/cipher.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-02-22 16:37:12 +0000
committerWerner Koch <wk@gnupg.org>2007-02-22 16:37:12 +0000
commit6cb0bbb9494b908be000d331d0e7068bb6ae9ee7 (patch)
treed8b16f5657849afa6c3453920b77d694ffe1da8a /cipher/cipher.c
parent56d370e0084511d9f9d706d0bcf2e3375b46ca25 (diff)
downloadlibgcrypt-6cb0bbb9494b908be000d331d0e7068bb6ae9ee7.tar.gz
Tweaks for W32
Diffstat (limited to 'cipher/cipher.c')
-rw-r--r--cipher/cipher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cipher/cipher.c b/cipher/cipher.c
index 9b17592c..43576fa7 100644
--- a/cipher/cipher.c
+++ b/cipher/cipher.c
@@ -431,8 +431,7 @@ cipher_algo_to_string (int algorithm)
const char *
gcry_cipher_algo_name (int algorithm)
{
- const char *s = cipher_algo_to_string (algorithm);
- return s ? s : "";
+ return cipher_algo_to_string (algorithm);
}