fixed lookup table
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 19 May 2009 07:26:56 +0000 (09:26 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 19 May 2009 08:02:24 +0000 (10:02 +0200)
src/pluto/crypto.c

index 2712abe..e692ef1 100644 (file)
@@ -339,7 +339,7 @@ int esp_from_encryption_algorithm(encryption_algorithm_t alg)
                case ENCR_BLOWFISH:
                        return ESP_BLOWFISH;
                case ENCR_AES_CBC:
                case ENCR_BLOWFISH:
                        return ESP_BLOWFISH;
                case ENCR_AES_CBC:
-                       return OAKLEY_AES_CBC;
+                       return ESP_AES;
                case ENCR_AES_CTR:
                        return ESP_AES_CTR;
                case ENCR_AES_CCM_ICV8:
                case ENCR_AES_CTR:
                        return ESP_AES_CTR;
                case ENCR_AES_CCM_ICV8: