From c27c797e12b1c7ec3c174b93517f196b24bc20af Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Fri, 27 Oct 2006 18:36:46 +0000 Subject: [PATCH] spaces should not be sanitized --- src/libstrongswan/utils/identification.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstrongswan/utils/identification.c b/src/libstrongswan/utils/identification.c index 55eef6c5a..917f20b17 100644 --- a/src/libstrongswan/utils/identification.c +++ b/src/libstrongswan/utils/identification.c @@ -228,6 +228,7 @@ static chunk_t sanitize_chunk(chunk_t chunk) case 'a' ... 'z': case 'A' ... 'Z': case '0' ... '9': + case ' ': case '-': case '_': case '.':