--- uc_credit.module.orig	2009-10-20 23:58:08.000000000 +0300
+++ uc_credit.module	2010-02-18 12:59:54.806419959 +0200
@@ -847,10 +847,6 @@
 
 // Makes sure the encryption key directory in the credit card settings is valid.
 function uc_credit_settings_form_validate($form, &$form_state) {
-  $dir = variable_get('uc_credit_encryption_path', t('Not configured, see below.'));
-  $filename = rtrim($dir, '/\\') .'/uc_credit.key';
-
-  if ($form_state['values']['uc_credit_encryption_path'] !== variable_get('uc_credit_encryption_path', t('Not configured, see below.'))) {
     $dir = rtrim($form_state['values']['uc_credit_encryption_path'], '/\\');
 
     $_SESSION['update_cc_encrypt_dir'] = TRUE;
@@ -884,7 +880,6 @@
         }
       }
     }
-  }
 }
 
 // Creates the encryption key file if it doesn't already exist.
