[openssl-dev] Backporting opaque struct getter/setter functions
Tomas Mraz
tmraz at redhat.com
Mon Jan 11 10:23:12 UTC 2016
On Po, 2016-01-11 at 01:09 +0000, Peter Waltenberg wrote:
> The point of using accessor FUNCTIONS is that the code doesn't break
> if the structure size or offsets of fields in the underlying
> structures change across binaries.
>
> Where that mainly has an impact is updating the crypto/ssl libs
> underneath existing binaries is more likely to just work.
>
> #defines in the headers do not help at all here.
>
The point is in achieving reverse API compatibility between 1.1 and
1.0.2. No binary compatibility is expected between those branches.
I think that having the API compatibility would be really useful thing
easing porting application code to 1.1 branch.
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
(You'll never know whether the road is wrong though.)
More information about the openssl-dev
mailing list