New issue
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
Fix incorrect return check of BN_bn2nativepad #16943
Conversation
Could you update the documentation to say that BN_bn2lebinpad and BN_bn2nativepad also return -1 when the buffer is too small? |
I put them together with BN_bn2binpad. It seems they invoke the same inner interface. |
This won't apply to 1.1.1. IMO it is also not worth backporting to 1.1.1 as the code fix is only for 3.0. |
The documentation will apply to 1.1.1 too, I think
|
Yes, but IMO we are not aiming to fix all documentation deficiencies in 1.1.1. |
Yes, but IMO we are not aiming to fix all documentation deficiencies in 1.1.1.
1.1.1 is our current LTS release.
|
Anyway if someone submits a 1.1.1 PR, no problem. |
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #16943)
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #16943)
Merged to master and 3.0 branches. Thank you for the contribution. |
Checklist