[wp-trac] [WordPress Trac] #10284: hash_hmac implementation does not match PHP hash_hmac

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 12 02:21:19 UTC 2009


#10284: hash_hmac implementation does not match PHP hash_hmac
--------------------------+-------------------------------------------------
 Reporter:  jrush_aplus   |       Owner:  mdawaffe        
     Type:  defect (bug)  |      Status:  accepted        
 Priority:  normal        |   Milestone:  2.8.5           
Component:  General       |     Version:  2.8             
 Severity:  normal        |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
Changes (by mdawaffe):

  * owner:  => mdawaffe
  * status:  new => accepted


Comment:

 WordPress' implementation of hash_hmac() also ignores the $raw_output
 argument.

 That argument is never used by core, but plugins and OAuth libraries use
 it.  Attached updates to correct the above bug and add support for
 $raw_output.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10284#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list