Jelajahi Sumber

totemconfig: remove duplicate aes256 test

Signed-off-by: Bin Liu <bliu@suse.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Bin Liu 8 tahun lalu
induk
melakukan
af21baf0ff
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 3
      exec/totemconfig.c

+ 0 - 3
exec/totemconfig.c

@@ -398,9 +398,6 @@ static int totem_get_crypto(struct totem_config *totem_config)
 		if (strcmp(str, "aes128") == 0) {
 		if (strcmp(str, "aes128") == 0) {
 			tmp_cipher = "aes128";
 			tmp_cipher = "aes128";
 		}
 		}
-		if (strcmp(str, "aes256") == 0) {
-			tmp_cipher = "aes256";
-		}
 		if (strcmp(str, "3des") == 0) {
 		if (strcmp(str, "3des") == 0) {
 			tmp_cipher = "3des";
 			tmp_cipher = "3des";
 		}
 		}