Atualização do Harbour 18-01-2025
Enviado: 18 Jan 2025 20:05
Olá!
Saudações,
Itamar M. Lins Jr.
Código: Selecionar todos
2025-01-18 09:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/evp.c
* clear key and iv buffers before passing them to EVP_BytesToKey()
otherwise some uninitialized bytes are accessed and valgrind reports
uninitialized memory access
* contrib/hbssl/evpciph.c
! fixed typo in index in my previous commit
* contrib/hbssl/tests/digest.prg
! use OPENSSL_VERSION_NUMBER() instead OPENSSL_VERSION() to retrieve
OpenSSL version number
* contrib/hbssl/tests/inetssl.prg
* updated to use 2048 RSA certificates instead of 1024 ones which are
no more supported by modern OpenSSL libraries
* contrib/hbssl/tests/pem.prg
* cleaned output
2025-01-18 05:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbfnsx/dbfnsx1.c
* src/rtl/dates.c
* src/rtl/hbtoken.c
! pacified few stupid warnings
2025-01-18 04:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/bio.c
! added missing BIO_free() call in HB_BIO destructor
! fixed BIO_free() function to properly operate on HB_BIO structure
* contrib/hbssl/evp.c
! fixed EVP_PKEY_free() to work with Harbour GC pointer items instead of
raw pointer items
* contrib/hbssl/evpciph.c
! fixed EVP_SealInit() and EVP_OpenInit() to work with Harbour GC pointer
items instead of raw pointer items
* contrib/hbssl/hbssl.h
* contrib/hbssl/rsa.c
* contrib/hbssl/evppkey.c
+ added new C functions:
void hb_RSA_par_free( int iParam );
EVP_PKEY * hb_EVP_PKEY_get( PHB_ITEM pItem );
void hb_EVP_PKEY_free( PHB_ITEM pItem );
* contrib/hbssl/evppkey.c
! fixed EVP_PKEY_assign_RSA to work with RSA Harbour GC pointer
item instead of raw pointer items
* contrib/hbssl/pem.c
! redirect old dummy functions to current ones using Harbour GC pointer
items:
PEM_read_bio_PrivateKey() => PEM_read_PrivateKey()
PEM_read_bio_PUBKEY() => PEM_read_PUBKEY()
PEM_read_bio_X509() => PEM_read_X509()
PEM_read_bio_X509_AUX() => PEM_read_X509_AUX()
Now they should work.
; above are only few fixes for chosen problems and still there are many
others, most of HBSSL code should be rewritten from scratch to work
with OpenSSL 3.x API
2025-01-16 01:00 UTC+0100 Fazio Diego (diegohfazio gmail.com)
* contrib/hbcurl/hbcurl.ch
+ added HB_CURLOPT_ER_BUFF_SETUP
curl_easy_setopt( curl, HB_CURLOPT_ER_BUFF_SETUP ) <- Initialize ERRORBUFFER
* contrib/hbcurl/core.c
+ added PRG functions:
read error from ERRORBUFFER
see https://curl.se/libcurl/c/CURLOPT_ERRORBUFFER.html
curl_easy_er_buff_get( curl ) -> cErrorBuffer
Itamar M. Lins Jr.