[LEDE-DEV] RFC: patches on cyassl/wolfssl openssl compatibility

Karl Palsson karlp at tweak.net.au
Mon Jun 6 08:49:20 PDT 2016


While attempting to update libwebsockets to version 2.x, I ran into
the curious case of openssl compatiblity in wolfssl (nee cyassl)

Apparently "--with-stunnel" enables "the rest" of the openssl
compatibitility, bringing the compatibility up to v1.0.1.

As openssl is already at 1.0.1, it seems reasonable that the wolfssl
compatiblity should also be at a useful level.  Unfortunately, you
still need to explicitly check the wolfssl options at compile time to
_enable_ the compatibility.  Patches for ustream-ssl follow, patches for
libwebsockets are not pushed yet, as there's no point until this is resolved.
They're available in https://github.com/karlp/packages/commits/drafts/lws-v2.x
if anyone wants to look at them.

Note: I'm not actually a wolfssl/cyassl user, this just came about while
trying to bring forward cyassl support in libwebsockets, so if someone
understands the true intentions of wolfssl here, I'm all ears.

Sincerely,
Karl P




More information about the Lede-dev mailing list