added lookup of ESP_NULL
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 19 May 2009 14:46:49 +0000 (16:46 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 19 May 2009 14:46:49 +0000 (16:46 +0200)
src/pluto/crypto.c

index 7daf283..dc51bdf 100644 (file)
@@ -338,6 +338,8 @@ int esp_from_encryption_algorithm(encryption_algorithm_t alg)
                        return ESP_CAST;
                case ENCR_BLOWFISH:
                        return ESP_BLOWFISH;
+               case ENCR_NULL:
+                       return ESP_NULL;
                case ENCR_AES_CBC:
                        return ESP_AES;
                case ENCR_AES_CTR: