aboutsummaryrefslogtreecommitdiff
path: root/draft-summermatter-set-union.xml
diff options
context:
space:
mode:
Diffstat (limited to 'draft-summermatter-set-union.xml')
-rw-r--r--draft-summermatter-set-union.xml23
1 files changed, 0 insertions, 23 deletions
diff --git a/draft-summermatter-set-union.xml b/draft-summermatter-set-union.xml
index dcecd87..1a82d3d 100644
--- a/draft-summermatter-set-union.xml
+++ b/draft-summermatter-set-union.xml
@@ -2510,29 +2510,6 @@ FUNCTION END
2510 surface as possible and makes it more difficult for the attacker to send the 2510 surface as possible and makes it more difficult for the attacker to send the
2511 protocol into an endless loop, for example. 2511 protocol into an endless loop, for example.
2512 </t> 2512 </t>
2513 <t>
2514 The following function is executed every time a message is processed.
2515 The array allowed_state, which contains a list of allowed messages for
2516 the current state of the application.
2517 </t>
2518 <figure anchor="security_generic_functions_check_valid_state_code">
2519 <artwork name="" type="" align="left" alt=""><![CDATA[
2520# Input:
2521# as: A array containing all states in which the message can be received
2522# s: The state in which the protocol is in
2523# Output:
2524# Returns TRUE if message is valid in state and FALSE if not
2525
2526FUNCTION check_valid_state (as, s)
2527 FOR (as in as) ## FIXME: WTF? as in as??? Also: overall terrible way to do this -- where would 'as' come from? Also, I do not think this function SHOULD even be in the RFC (technically, all you want to say is 's in as').
2528 IF (as == s)
2529 RETURN TRUE
2530 END IF
2531 FOR END
2532 RETURN FALSE
2533FUNCTION END # FIXME: you did not use FUNCTION END above... Be consistent!
2534 ]]></artwork>
2535 </figure>
2536 </section> 2513 </section>
2537 <section anchor="security_generic_functions_mfc" numbered="true" toc="default"> 2514 <section anchor="security_generic_functions_mfc" numbered="true" toc="default">
2538 <name>Message Flow Control</name> 2515 <name>Message Flow Control</name>