Added rules to conditionally use the compatible HMAC authentication code based on detected OpenSSL version.
While not strictly anything earth-shattering, a project I'm working on doesn't have anything newer than a (LTS support team) patched version of OpenSSL 1.0.1e. Therefore, updating to the latest Autobahn caused our build to break (ref: #148). Therefore, I added the rules so that others that have the same issue with older versions of OpenSSL being the only ones available can still use the latest Autobahn out of the box.
I didn't test this on a machine that has OpenSSL >= 1.1 as I don't readily have access to one, so someone may want to do that to make sure these changes mesh. If not, I'll see what I can do to grab a few cycles and spin up a VM to test it.
Added rules to conditionally use the compatible HMAC authentication code based on detected OpenSSL version.
While not strictly anything earth-shattering, a project I'm working on doesn't have anything newer than a (LTS support team) patched version of OpenSSL 1.0.1e. Therefore, updating to the latest Autobahn caused our build to break (ref: #148). Therefore, I added the rules so that others that have the same issue with older versions of OpenSSL being the only ones available can still use the latest Autobahn out of the box.
I didn't test this on a machine that has OpenSSL >= 1.1 as I don't readily have access to one, so someone may want to do that to make sure these changes mesh. If not, I'll see what I can do to grab a few cycles and spin up a VM to test it.