e39ac8fb59
The previous attempt around the 'struct ssl_st' compatibility mess offended OSS-Fuzz and UBSan because one compilation unit passed a function pointer with ssl_st* and another called it with bssl::SSLConnection*. Linkers don't retain such types, of course, but to silence this alert, instead make C-visible types be separate from the implementation and subclass the public type. This does mean we risk polluting the symbol namespace, but hopefully the compiler is smart enough to inline the visible struct's constructor and destructor. Bug: 132 Change-Id: Ia75a89b3a22a202883ad671a630b72d0aeef680e Reviewed-on: https://boringssl-review.googlesource.com/18224 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Steven Valdez <svaldez@google.com> Reviewed-by: Steven Valdez <svaldez@google.com> |
||
---|---|---|
.. | ||
openssl |