Closed (fixed)
Project:
OpenID Provider
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2011 at 05:38 UTC
Updated:
11 Feb 2012 at 17:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
jmcclelland commentedWoops - uploaded the wrong patch. Attached is a safer patch.
Comment #2
anarcat commentedTo be honest, I don't understand this either. It looks like the openid_provider code went ahead of the Drupal core one and supported both library functions while the core one didn't.
The result of that function get passed to _openid_dh_long_to_binary, which uses the bccomp() and friends functions, but since the provider code prioritizes the gmp library (and core doesn't support that), it fails if you have the gmp library installed.
I think your fix is a good workaround, but not a proper patch. :) Please try 1e3d421b5f2ea57ccf9370e1d0e0a8df5a64a017 or the dev snapshot of D6. Also committed to D7.