]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Reorder.
authorSimon Josefsson <simon@josefsson.org>
Sun, 15 Aug 2004 22:21:12 +0000 (22:21 +0000)
committerSimon Josefsson <simon@josefsson.org>
Sun, 15 Aug 2004 22:21:12 +0000 (22:21 +0000)
crypto/gc-libgcrypt.c

index f03ad389482b983a0e31338358f3a041a3a56bac..bd776eaca99e9c8a1b5837e6192160abf2f75602 100644 (file)
@@ -71,14 +71,14 @@ gc_cipher_open (int alg, int mode, gc_cipher * outhandle)
 
   switch (alg)
     {
-    case GC_AES128:
-      gcryalg = GCRY_CIPHER_RIJNDAEL;
-      break;
-
     case GC_AES256:
       gcryalg = GCRY_CIPHER_RIJNDAEL256;
       break;
 
+    case GC_AES128:
+      gcryalg = GCRY_CIPHER_RIJNDAEL;
+      break;
+
     case GC_3DES:
       gcryalg = GCRY_CIPHER_3DES;
       break;