[Info-vax] OpenSSL CSWS-2.2-1

Arne Vajhøj arne at vajhoej.dk
Thu Jun 6 10:19:20 EDT 2019


On 6/5/2019 11:09 PM, Stephen Hoffman wrote:
> On 2019-06-04 14:57:41 +0000, doug80638 at aol.com said:
> 
>> "I also feel that the interface to the product should be 
>> somehowcompatable rather than needing re-coding to use the newer 
>> stuff.  Notsure how easy that might be. "
>>
>> Easier said than done. Making internal structures opaque that were 
>> once directly visible and modifiable precludes forward compatibility.
> 
> Assuming folks call OpenSSL directly, quite correct.
> 
> Also welcome to why I've suggested wrapping the existing APIs.
> 
> I've previously released a descriptor-friendly set of wrappers for 
> OpenVMS and OpenSSL.  That wrapper API could undoubtedly be done better 
> than what I designed, too.  But it works.  I'm aware of and have 
> previously linked to other wrappers for other platforms.

OpenSSL actually comes with an abstraction: BIO.

BIO handle plain sockets, SSL sockets and disk files transparently.

It is a C API and I don't think it is widely used.

But it does exist.

Arne





More information about the Info-vax mailing list