We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug public_key.erl calls pubkey_cert:apply_fun/5 in two places. Line 1713:
try pubkey_cert:apply_fun(VerifyFun, Cert#cert.otp, Cert#cert.der, Reason, Userstat0) of
Line 2422:
try pubkey_cert:apply_fun(VerifyFun, OtpCert, DerCert, Reason, UserState0) of
pubkey_cert:apply_fun/5 reverses the order of OtpCert and DerCert and calls the user supplied verify_fun with DerCert instead of OtpCert:
apply_fun(Fun, DerCert, OtpCert, Result, UserState) -> if is_function(Fun, 4) -> Fun(OtpCert, DerCert, Result, UserState); is_function(Fun, 3) -> Fun(OtpCert, Result, UserState) end.
Affected versions 27.1
The text was updated successfully, but these errors were encountered:
Well actual it called forma third place most of the time where the order is correct, but good catch we will fix.
Sorry, something went wrong.
public_key: Correct argument order
ae0b793
closes erlang#8832
a620f91
db35f9b
A RabbitMQ plugin is also impacted. Thankfully we do not currently support OTP-27.
d5af1b3
15fa416
IngelaAndin
No branches or pull requests
Describe the bug
public_key.erl calls pubkey_cert:apply_fun/5 in two places.
Line 1713:
Line 2422:
pubkey_cert:apply_fun/5 reverses the order of OtpCert and DerCert and calls the user supplied verify_fun with DerCert instead of OtpCert:
Affected versions
27.1
The text was updated successfully, but these errors were encountered: