aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/misc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cipher/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher/misc.c b/cipher/misc.c
index cd0d31a49..7c8f2e3c7 100644
--- a/cipher/misc.c
+++ b/cipher/misc.c
@@ -67,7 +67,7 @@ string_to_cipher_algo( const char *string )
int i;
const char *s;
- for(i=0; s=cipher_names[i].name; i++ )
+ for(i=0; (s=cipher_names[i].name); i++ )
if( !stricmp( s, string ) )
return cipher_names[i].algo;
return 0;
@@ -83,7 +83,7 @@ string_to_pubkey_algo( const char *string )
int i;
const char *s;
- for(i=0; s=pubkey_names[i].name; i++ )
+ for(i=0; (s=pubkey_names[i].name); i++ )
if( !stricmp( s, string ) )
return pubkey_names[i].algo;
return 0;
@@ -98,7 +98,7 @@ string_to_digest_algo( const char *string )
int i;
const char *s;
- for(i=0; s=digest_names[i].name; i++ )
+ for(i=0; (s=digest_names[i].name); i++ )
if( !stricmp( s, string ) )
return digest_names[i].algo;
return 0;