[openssl-users] ssl_method_st not defined

Viktor Dukhovni openssl-users at dukhovni.org
Tue Apr 11 16:15:38 UTC 2017


> On Apr 11, 2017, at 11:58 AM, Salz, Rich via openssl-users <openssl-users at openssl.org> wrote:
> 
>>> in my case, i need to initialize the SSL , and set parameters as same as client  and server (depending on direction ) and call OpenSSL to decrypt the data.
>>> before openSSL 1.1.0 as all member variables could be set, it was easy task, 
>>> now i do face issues with ssl_session and  ssl_session->s3
> 
> Those functions aren’t present.  A pull request to add them, and document them,
> would be useful and would go into 1.1.0 and master.

Some care needs to be taken to make sure that any pull requests do not tie
our hands with respect to internal structure layouts.

Perhaps instead of focusing on how this was done in the past, and implementing
the low-level accessors that were used, a better approach is to identify what
data you have at hand and what you want to achieve.  Then design a sensible
API for that.  Post the proposed design for discussion before going to the
trouble of implementing the details.

I'd like to see the OpenSSL API evolve through deliberate design and not just
accretion of features.

-- 
	Viktor.



More information about the openssl-users mailing list