<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div>sorry for my mistake. I found that the gist url can not display well in mail and here is the url: <span style="font-family: monospace; font-size: medium;">https://gist.github.com/GoGim1/77c9bebec1cc71cea066515b4623a051</span></div><div><br></div><div><hr align="left" style="margin: 0 0 10px 0;border: 0;border-bottom:1px solid #E4E5E6;height:0;line-height:0;font-size:0;padding: 20px 0 0 0;width: 50px;"><div style="font-size:14px;font-family:Verdana;color:#000;"><a class="xm_write_card" id="in_alias" style="white-space: normal; display: inline-block; text-decoration: none !important;font-family: -apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei;" href="https://wx.mail.qq.com/home/index?t=readmail_businesscard_midpage&nocheck=true&name=WuJinze&icon=https%3A%2F%2Fres.mail.qq.com%2Fzh_CN%2Fhtmledition%2Fimages%2Frss%2Fmale.gif%3Frand%3D1617349242&mail=294843472%40qq.com&code=" target="_blank"><table style="white-space: normal;table-layout: fixed; padding-right: 20px;" contenteditable="false" cellpadding="0" cellspacing="0"><tbody><tr valign="top"><td style="width: 40px;min-width: 40px; padding-top:10px"><div style="width: 38px; height: 38px; border: 1px #FFF solid; border-radius:50%; margin: 0;vertical-align: top;box-shadow: 0 0 10px 0 rgba(127,152,178,0.14);"><img src="https://res.mail.qq.com/zh_CN/htmledition/images/rss/male.gif?rand=1617349242" style="width:100%;height:100%;border-radius:50%;pointer-events: none;"></div></td><td style="padding: 10px 0 8px 10px;"><div class="businessCard_name" style="font-size: 14px;color: #33312E;line-height: 20px; padding-bottom: 2px; margin:0;font-weight: 500;">WuJinze</div><div class="businessCard_mail" style="font-size: 12px;color: #999896;line-height: 18px; margin:0;">294843472@qq.com</div></td></tr></tbody></table></a></div></div><div> </div><div style="position: relative;"><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From:</b>                                                                                                                        "WuJinze"                                                                                    <294843472@qq.com>;</div><div><b>Date:</b> Sat, Nov 12, 2022 06:17 PM</div><div><b>To:</b> "openssl-users"<openssl-users@openssl.org>;<wbr></div><div></div><div><b>Subject:</b> OpenSSL AES Decryption fails randomly C++</div></div><div><br></div><div><span style="white-space: pre-wrap;">Dear OpenSSL Group,</span></div><div style="position: relative;"><pre>    Greetings. I was working on writing simple aes encrypt/decrypt wrapper function in c++ and running into a strange problem. The minimal reproducible examples in gist seems working fine but when i uncomment lines 90-92, it will fail to decrypt randomly. Can someone help me to figure out what's wrong with the code?</pre><pre>    Here is my code: <a href="https://gist.github.com/GoGim1/77c9bebec1cc71cea066515b4623a051" style="font-family: Verdana;">OpenSSL AES Decryption fails randomly C++ (github.com)</a>. OpenSSL version is OpenSSL 1.1.1f. G++ version is 9.4.0.</pre><pre>Regards, </pre><pre>Jinze</pre></div></div>