From ba334201a9fbe5886819bd7382f69c667b87d54a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 17 Apr 2015 16:16:52 +0200 Subject: [PATCH 1/2] Fix typo in contributor name (oops!) --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 39ae43f82..ceb398596 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,7 +6,7 @@ Security Features * Add support for reading DH parameters with privateValueLength included - (contributed by Daniel Khan Gillmor). + (contributed by Daniel Kahn Gillmor). * Add support for bit strings in X.509 names (request by Fredrik Axelsson). * Add support for id-at-uniqueIdentifier in X.509 names. * Add support for overriding snprintf() (except on Windows) and exit() in From 23c0608e288888e28fea030ee8ecf6b48411b59b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 17 Apr 2015 10:22:30 +0200 Subject: [PATCH 2/2] Fix bug in generate_code.pl The following did fail: Test 1 foo:SOME_CONSTANT:"string" Test 2 foo:OTHER_CONSTANT:"string" due to the first string actually including the second "foo" up to (but no including) the colon. --- tests/scripts/generate_code.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/generate_code.pl b/tests/scripts/generate_code.pl index 81c454cdb..078e82df9 100755 --- a/tests/scripts/generate_code.pl +++ b/tests/scripts/generate_code.pl @@ -139,7 +139,7 @@ while($test_cases =~ /\/\* BEGIN_CASE *([\w:]*) \*\/\n(.*?)\n\/\* END_CASE \*\// $param_defs .= " char *param$i = params[$i];\n"; $param_checks .= " if( verify_string( ¶m$i ) != 0 ) return( 2 );\n"; push @dispatch_params, "param$i"; - $mapping_regex .= ":[^:]+"; + $mapping_regex .= ":[^:\n]+"; } else {