aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index ddeb828b6..de4e1855f 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1492,7 +1492,8 @@ main( int argc, char **argv )
* may try to load an module */
if( def_cipher_string ) {
opt.def_cipher_algo = string_to_cipher_algo(def_cipher_string);
- if(opt.def_cipher_algo==0 && strcasecmp(def_cipher_string,"idea")==0)
+ if(opt.def_cipher_algo==0 &&
+ ascii_strcasecmp(def_cipher_string,"idea")==0)
idea_cipher_warn(1);
m_free(def_cipher_string); def_cipher_string = NULL;
if( check_cipher_algo(opt.def_cipher_algo) )