Alex Strickland
unread,Mar 26, 2026, 4:26:25 AM (9 days ago) Mar 26Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Harbour Users
Hi
I upgraded my OpenSSL to 3.6.1 (to enable secure websockets). I could
not get a clean build because of some compiler errors (MSVC) with the
Harbour contrib code. I asked Claude to help and it seems to have done
quite a nice job. I've attached a diff.
Claude had this to say:
"The header fix is the most important — it restores the compat macros
that OpenSSL 3.0 provides for all the renamed accessor functions
(EVP_CIPHER_key_length → EVP_CIPHER_get_key_length, EVP_PKEY_size →
EVP_PKEY_get_size, sk_num → OPENSSL_sk_num, SSL_get_peer_certificate →
SSL_get1_peer_certificate, etc.). The version guards handle functions
that are truly no-ops since 1.1.0."
Thanks also to Budyanto for this required change:
{!HB_DYNBIND_OPENSSL&allmsvc&HB_COMP_VER>'1909'}libs=libssl-3 libcrypto-3
I really feel like a barbarian wandering around in a church when editing
Harbour code, but needs must.
--
Regards
Alex