From df713be37ff353358f6e96d4859ce9d64b070a37 Mon Sep 17 00:00:00 2001 From: Maximilian Szengel Date: Mon, 4 Jun 2012 13:59:28 +0000 Subject: [PATCH] assigning proofs --- src/regex/regex.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/regex/regex.c b/src/regex/regex.c index c1f2801c6..551610baa 100644 --- a/src/regex/regex.c +++ b/src/regex/regex.c @@ -917,6 +917,13 @@ automaton_create_proofs (struct GNUNET_REGEX_Automaton *a) } } + // assign proofs + for (i = 0; i < n; i++) + { + states[i]->proof = GNUNET_strdup (R_last[a->start->marked][i]); + } + + // cleanup for (i = 0; i < n; i++) { for (j = 0; j < n; j++) -- 2.25.1