Browse Source

fixed a finished message bug with resumed sessions

cecylia 7 years ago
parent
commit
f8629f7c9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      relay_station/flow.c

+ 1 - 1
relay_station/flow.c

@@ -1082,7 +1082,7 @@ int add_packet(flow *f, struct packet_info *info){
 						}
 
 						//check to see if last finished message received
-						if(f->application ==1){
+						if(f->in_encrypted ==2){
 
 #ifdef DEBUG
 							printf("Replacing info->data with finished message (%d bytes).\n", info_len);