How to enable ssl3 in openssl?

Actual openssl does not support ssl3 any more, but for some special app I need it. I tried a "very dirty hack", to edit
/etc/openwrt/package/libs/openssl/Makefile
to modify
OPENSSL_OPTIONS:= shared
to
OPENSSL_OPTIONS:= shared enable-ssl3

The image build did not generate any errors, however, a simple test
still does not work:
openssl s_client -connect google.com:443 -ssl3
s_client: Option unknown option -ssl3

Any ideas for a better "Dirty hack", or, even better, a clean solution ?

Are you talking about openssl 1.1.1 in 22.03 and earlier OpenWrt branches, or about 3.0.x in master?

About openssl 1.1.1 in 22.03.

Well, I looked into it, and looks like the ssl3 support has been dropped from OpenWrt's openssl already in 2019 (before 19.07 rc1), so you should probably look into pointers in openssl 1.0.2 Makefile in 18.06 or so.

Feature disabling commit seems to be this. Diff in https://github.com/openwrt/openwrt/commit/be3892284ca77a69615351b106b8dfbadad728c4#diff-9be52b9074fdb9052d755391aee56d5b12ca31b59a3c70180b53e69294b58e0bR142-R153