Fix regression in i2d_re_X509_REQ_tbs()
authorTomas Mraz <tomas@openssl.org>
Thu, 29 Sep 2022 11:00:45 +0000 (13:00 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 5 Oct 2022 14:13:03 +0000 (16:13 +0200)
commit6b9d582d49353750f36c14dd20f5f962e7d52d3b
tree96375524b49840450790442fe77d40ce3ecfdf39
parent6c3728c72a8263a201352f6d118f9fc94bdbc6fb
Fix regression in i2d_re_X509_REQ_tbs()

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 <hlandau@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/19299)

(cherry picked from commit 928f15e71b0bccabb10cbdcbb9b2d4e85eeb5906)
crypto/x509/x509_req.c