Fix self call
was self when in Crypto..
This commit is contained in:
		
					parent
					
						
							
								db653e4451
							
						
					
				
			
			
				commit
				
					
						fe3dac4825
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -207,7 +207,7 @@ class Salmon
 | 
			
		|||
	 */
 | 
			
		||||
	public static function salmonKey($pubkey)
 | 
			
		||||
	{
 | 
			
		||||
		self::pemToMe($pubkey, $m, $e);
 | 
			
		||||
		Crypto::pemToMe($pubkey, $m, $e);
 | 
			
		||||
		return 'RSA' . '.' . base64url_encode($m, true) . '.' . base64url_encode($e, true);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue