Fix regression in i2d_re_X509_REQ_tbs()#19299
Conversation
This fixes regression from commit 8e39049. There is also no point in setting the modified flag after just calling i2d. Fixes openssl#19297
81de79e to
881e094
Compare
|
Just found in that at least for some related data types the |
|
Should this have a unit test? |
It should. However IMO this falls under much bigger effort to write the test than the actual fix. We do not have any unit test for i2d_re_* functions nor for the i2d_X509_REQ() function. I could squeeze it in x509_check_cert_pkey_test.c easily, on the other hand it is a little bit weird to piggy-back on quite unrelated test. |
|
Thanks for your quick works.
My understanding from reading the above part of manpage is that setting the
If your work resolves this situation, that will be great, thanks. |
|
de54030 looks good to me, thanks! |
|
@DDvO still OK? |
Yep |
|
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. |
|
Merged to master and 3.0 branches. Thank you for the reviews. |
This fixes regression from commit 8e39049. There is also no point in setting the modified flag after just calling i2d. Fixes #19297 Reviewed-by: Hugo Landau <[email protected]> Reviewed-by: David von Oheimb <[email protected]> (Merged from #19299)
This fixes regression from commit 8e39049. There is also no point in setting the modified flag after just calling i2d. Fixes #19297 Reviewed-by: Hugo Landau <[email protected]> Reviewed-by: David von Oheimb <[email protected]> (Merged from #19299) (cherry picked from commit 928f15e)
This fixes regression from commit 8e39049. There is also no point in setting the modified flag after just calling i2d. Fixes openssl#19297 Reviewed-by: Hugo Landau <[email protected]> Reviewed-by: David von Oheimb <[email protected]> (Merged from openssl#19299)
This fixes regression from commit 8e39049. There is also no point in setting the modified flag after just calling i2d. Fixes openssl/openssl#19297 (Merged from openssl/openssl#19299)
This fixes regression from commit 8e39049.
Fixes #19297