I think the correct way to fix this bug is:
export OPENSSL_CONF=${STAGING_LIBDIR}/ssl/openssl.cnf
The current method uses the openssl config file for the *build* machine (and works only on x86_64 machines), you really want the openssl config file for the target. The above would be required if you ever wanted to submit this recipe upstream, since it will also work on other processor architectures.
Steve