From 2efc645b790c1437f5b94544a9c3ccf0fbe6f4bf Mon Sep 17 00:00:00 2001 From: Kristof Szabados <Kristof.Szabados@ericsson.com> Date: Thu, 17 Sep 2020 11:21:37 +0200 Subject: [PATCH] store the original text, so that we don't need to overcomplicate MD5 calculation on the Java side. Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com> --- compiler2/ttcn3/compiler.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler2/ttcn3/compiler.l b/compiler2/ttcn3/compiler.l index b4ddd18e9..d6c12b1d9 100644 --- a/compiler2/ttcn3/compiler.l +++ b/compiler2/ttcn3/compiler.l @@ -791,7 +791,7 @@ NULL RETURN(NullValue); } [a-f] { - binstr = mputc(binstr, yytext[0] - 'a' + 'A'); + binstr = mputc(binstr, yytext[0]); valid_bit = false; half_oct = !half_oct; current_column++; -- GitLab