From 5392d196724b0072e01f3e16f9a42060c3d8e63a Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sat, 7 Dec 2002 06:06:43 +0000 Subject: [PATCH] Add nameprep vector. --- tst_stringprep.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tst_stringprep.c b/tst_stringprep.c index b91033a..b695d40 100644 --- a/tst_stringprep.c +++ b/tst_stringprep.c @@ -20,6 +20,7 @@ */ #include "internal.h" +#include static int debug = 0; static int error_count = 0; @@ -121,6 +122,10 @@ strprep[] = { "\xC2\xAA", 0, "\x61", stringprep_generic} , + /* nameprep, exposed a bug in libstringprep 0.0.5 */ + { + "\xC2\xAA\x0A", 0, "\x61\x0A", stringprep_nameprep} + , /* unassigned code point U+0221: */ { "\xC8\xA1", 0, "\xC8\xA1", stringprep_generic} -- 2.11.4.GIT