Fix: Check for wrong object. The converted sc should be checked instead of the original s
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/28248)
(cherry picked from commit
bc28ca499ef37e5ab6e2676727a3db7f02c837ae)
(cherry picked from commit
7e8d78d579548a39bf793ace158565ad569b4718)
(cherry picked from commit
66f7afbb98fa47efea3972698f8daaa463252e51)