forked from cory/tildefriends
		
	Maybe don't destroy the signature if we're going to try to validate again.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3815 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		@@ -548,8 +548,15 @@ static bool _tf_ssb_verify_and_strip_signature_internal(JSContext* context, JSVa
 | 
			
		||||
	JS_FreeCString(context, sigstr);
 | 
			
		||||
	JS_FreeCString(context, str);
 | 
			
		||||
	JS_FreeValue(context, sigval);
 | 
			
		||||
	JS_FreeValue(context, signature);
 | 
			
		||||
	JS_FreeValue(context, authorval);
 | 
			
		||||
	if (verified)
 | 
			
		||||
	{
 | 
			
		||||
		JS_FreeValue(context, signature);
 | 
			
		||||
	}
 | 
			
		||||
	else
 | 
			
		||||
	{
 | 
			
		||||
		JS_SetPropertyStr(context, val, "signature", signature);
 | 
			
		||||
	}
 | 
			
		||||
	return verified;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user