HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Fri Sep 17, 2021 6:49 pm

antonio
Enlace las librerias que me dices de tu distribucion y la cosa empeoro :(
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
.\OBJ\winfacel.hrb:
c:\bcc7\bin\ilink32.exe -Gn -aa -Tpe -s -I.\OBJ @make.tmp
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_OPENSSL_init_crypto' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_PEM_read_bio_X509' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_PEM_read_bio_PrivateKey' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_X509_check_private_key' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_sign' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_EVP_sha1' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_add1_signer' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_final' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_BIO_new_file' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_BIO_ctrl' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_i2d_CMS_bio_stream' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_ContentInfo_free' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_X509_free' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_BIO_free' referenced from C:\HB32\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_SSL_library_init' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_load_error_strings' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSLeay_version' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSLeay' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_free' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CTX_free' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_server_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_client_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_server_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_client_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_server_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_client_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_method' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_new' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_ssl_version' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_timeout' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_timeout' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_cipher_list' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_add_session' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_SESSION_free' referenced from C:\HB32\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_new' referenced from C:\HB32\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_set_time' referenced from C:\HB32\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_set_timeout' referenced from C:\HB32\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_get_time' referenced from C:\HB32\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_get_timeout' referenced from C:\HB32\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_CTX_remove_session' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_flush_sessions' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_check_private_key' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_quiet_shutdown' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_verify_mode' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_quiet_shutdown' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_add_client_CA' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_client_CA_list' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_sk_num' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_sk_value' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_X509_get_subject_name' referenced from C:\HB32\LIB\HBSSL.LIB|x509
Error: Unresolved external '_X509_get_issuer_name' referenced from C:\HB32\LIB\HBSSL.LIB|x509
Error: Unresolved external '_X509_NAME_oneline' referenced from C:\HB32\LIB\HBSSL.LIB|x509
Error: Unresolved external '_X509_get_pubkey' referenced from C:\HB32\LIB\HBSSL.LIB|x509
Error: Unresolved external '_SSL_CTX_ctrl' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_file' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_chain_file' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_PrivateKey_file' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_RSAPrivateKey_file' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_RSAPrivateKey_ASN1' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_PrivateKey_ASN1' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_ASN1' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_EVP_PKEY_free' referenced from C:\HB32\LIB\HBSSL.LIB|evppkey
Error: Unresolved external '_EVP_PKEY_new' referenced from C:\HB32\LIB\HBSSL.LIB|evppkey
Error: Unresolved external '_EVP_PKEY_type' referenced from C:\HB32\LIB\HBSSL.LIB|evppkey
Error: Unresolved external '_EVP_PKEY_size' referenced from C:\HB32\LIB\HBSSL.LIB|evppkey
Error: Unresolved external '_EVP_PKEY_bits' referenced from C:\HB32\LIB\HBSSL.LIB|evppkey
Error: Unresolved external '_CRYPTO_malloc' referenced from C:\HB32\LIB\HBSSL.LIB|evp
Error: Unresolved external '_OPENSSL_add_all_algorithms_noconf' referenced from C:\HB32\LIB\HBSSL.LIB|evp
Error: Unresolved external '_EVP_cleanup' referenced from C:\HB32\LIB\HBSSL.LIB|evp
Error: Unresolved external '_ERR_load_EVP_strings' referenced from C:\HB32\LIB\HBSSL.LIB|evp
Error: Unresolved external '_OpenSSL_add_all_ciphers' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_enc_null' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede3' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede3_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_cfb64' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede_cfb64' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede3_cfb64' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede3_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede3_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede3_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_des_ede3_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_desx_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc4' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc4_40' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc2_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc2_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc2_40_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc2_64_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc2_cfb64' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_rc2_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_bf_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_bf_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_bf_cfb64' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_bf_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_cast5_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_cast5_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_cast5_cfb64' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_cast5_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_128_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_128_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_128_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_128_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_128_cfb128' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_128_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_192_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_192_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_192_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_192_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_192_cfb128' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_192_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_256_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_256_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_256_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_256_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_256_cfb128' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_aes_256_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_128_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_128_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_128_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_128_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_128_cfb128' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_128_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_192_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_192_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_192_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_192_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_192_cfb128' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_192_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_256_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_256_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_256_cfb1' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_256_cfb8' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_256_cfb128' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_camellia_256_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_seed_ecb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_seed_cbc' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_seed_cfb128' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_seed_ofb' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_OBJ_nid2sn' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_get_cipherbyname' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_nid' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_block_size' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_key_length' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_flags' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_type' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_init' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_cleanup' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_set_padding' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_key_length' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_set_key_length' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_ctrl' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_cipher' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_EncryptInit' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_EncryptInit_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_EncryptFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_EncryptFinal_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_DecryptInit' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_DecryptInit_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_DecryptFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_DecryptFinal_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CipherInit' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CipherInit_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CipherUpdate' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CipherFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CipherFinal_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_SealInit' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_EncryptUpdate' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_SealFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_iv_length' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_OpenInit' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_DecryptUpdate' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_block_size' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_OpenFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_OpenSSL_add_all_digests' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_destroy' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_md_null' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_md4' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_md5' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_sha' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_dss' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_dss1' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_ecdsa' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_sha224' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_sha256' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_sha384' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_sha512' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_mdc2' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_ripemd160' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_get_digestbyname' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_type' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_pkey_type' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_size' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_block_size' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_create' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_cleanup' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_md' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_copy' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_copy_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_DigestFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_DigestFinal_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_SignFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_DigestInit' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_DigestInit_ex' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_DigestUpdate' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_VerifyFinal' referenced from C:\HB32\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_BytesToKey' referenced from C:\HB32\LIB\HBSSL.LIB|evp
Error: Unresolved external '_EVP_PKEY_assign' referenced from C:\HB32\LIB\HBSSL.LIB|evppkey
Error: Unresolved external '_SSL_CTX_use_PrivateKey' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_load_verify_locations' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_default_verify_paths' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_new' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_dup' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_accept' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_clear' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_pending' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_hb_itemFreeCRef' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_null' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_file' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_mem' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_socket' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_connect' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_accept' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_fd' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_bio' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_s_datagram' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_f_null' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_f_buffer' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_f_nbio_test' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_new' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_set' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_clear_flags' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_int_ctrl' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_get_retry_reason' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_set_flags' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_test_flags' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_ctrl_pending' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_ctrl_wpending' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_new_socket' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_new_dgram' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_new_fd' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_hb_itemGetCRef' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_new_mem_buf' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_read' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_gets' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_write' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_puts' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_new_connect' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_new_accept' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_BIO_ptr_ctrl' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_ERR_load_BIO_strings' referenced from C:\HB32\LIB\HBSSL.LIB|bio
Error: Unresolved external '_SSL_set_bio' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_rbio' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_wbio' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_connect' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_shutdown' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_version' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_version' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_do_handshake' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_renegotiate' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_fd' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_rfd' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_wfd' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_read' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_peek' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_want' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_write' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_ssl_method' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_ssl_method' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_bits' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_cipher_list' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_cipher_list' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_name' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_current_cipher' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_version' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_copy_session_id' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_shared_ciphers' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_desc_string' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_desc_string_long' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_type_string' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_type_string_long' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_rstate_string' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_check_private_key' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_error' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_fd' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_rfd' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_wfd' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_quiet_shutdown' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_shutdown' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_verify_mode' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_state' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_default_timeout' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_verify_result' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_accept_state' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_connect_state' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_verify' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_quiet_shutdown' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_read_ahead' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_shutdown' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_verify_result' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_certificate' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_peer_certificate' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_add_client_CA' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate_file' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey_file' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_RSAPrivateKey_file' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_ciphers' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_client_CA_list' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_load_client_CA_file' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_RSAPrivateKey_ASN1' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey_ASN1' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate_ASN1' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_ctrl' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_msg_callback' referenced from C:\HB32\LIB\HBSSL.LIB|ssl
Error: Unable to perform link

no se donde buscar todas estas funciones pero voy a seguir investigando, no vaya a ser que lo que está mal sean las funciones de Fazio, sabes de alguien que las haya hecho funcionar efectivamente ?
Abrazo
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Sat Sep 18, 2021 6:59 am

Te falta enlazar las librerías de importación de las nuevas DLLs usadas:

libeay32.lib (obtenida a partir de libeay32.dll)
ssleay32.lib (obtenida a partir de ssleay32.dll)

Ambas librerías estan incluidas en la distribución de Harbour que te he indicado anteriormente:
https://github.com/FiveTechSoft/Harbour_builder/raw/master/harbour_win32_bcc_2020_10_19.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Sat Sep 18, 2021 1:15 pm

Antonio...me da verguenza seguir molestándote , pero no hay caso!
Las librerias están todas enlazadas usando el harbour tuyo
aca te muestro la parte correspondiente del MAK

$(APP_EXE) :: $(APP_OBJS)
@echo $(STARTUP_OBJ) + > make.tmp
@echo $(**), + >> make.tmp
@echo $(APP_EXE), + >> make.tmp
@echo $(APP_MAP), + >> make.tmp
@echo $(FIVE_LIB) + >> make.tmp
@echo $(FIVEC_LIB) + >> make.tmp
@echo $(FIVEXLS_LIB) + >> make.tmp
@echo $(BTNGET_LIB) + >> make.tmp
@echo $(RTL_LIB) + >> make.tmp
@echo $(VM_LIB) + >> make.tmp
@echo $(GTGUI_LIB) + >> make.tmp
@echo $(LANG_LIB) + >> make.tmp
@echo $(MACRO_LIB) + >> make.tmp
@echo $(RDD_LIB) + >> make.tmp
@echo $(DBFFPT_LIB) + >> make.tmp
@echo $(LETO_LIB) + >> make.tmp
@echo $(LETORD_LIB) + >> make.tmp
@echo $(SIX_LIB) + >> make.tmp
@echo $(SIX_EXT) + >> make.tmp
@echo $(PP_LIB) + >> make.tmp
@echo $(CPAGE_LIB) + >> make.tmp
@echo $(WIN_LIB) + >> make.tmp
@echo $(CPLR_LIB) + >> make.tmp
@echo $(ZIP_LIB) + >> make.tmp
@echo $(ARC_LIB) + >> make.tmp
@echo $(Z_LIB) + >> make.tmp
@echo $(MINI_LIB) + >> make.tmp
@echo $(TIP_LIB) + >> make.tmp
@echo $(PCRE_LIB) + >> make.tmp
@echo $(CT_LIB) + >> make.tmp
@echo $(XPP_LIB) + >> make.tmp
@echo $(XML_LIB) + >> make.tmp
@echo $(ZEBRA_LIB) + >> make.tmp
@echo $(NF_LIB) + >> make.tmp
@echo $(X_LIB) + >> make.tmp
@echo $(MISC_LIB) + >> make.tmp
@echo $(RDDADS_LIB) + >> make.tmp
@echo $(ACE_LIB) + >> make.tmp
@echo $(HBSSL_LIB) + >> make.tmp
@echo $(HBSSLS_LIB) + >> make.tmp
@echo $(EAY32_LIB) + >> make.tmp
@echo $(SSLEAY_LIB) + >> make.tmp

# @echo $(TIPSSL_LIB) + >> make.tmp -> cuando enlazo esta .LIB aparece la lista larga de errores que te detalle anteriormente
@echo $(SIGNFI_LIB) + >> make.tmp -> esta es la libreria que generé con los OBJ que me enviaste con las funciones de Diego Fazio

Esta es la lista de errores que permanecen compilando sin la TIPSSL.LIB
No se si esta librería es necesaria, si no la enlazo quedan solamente los errores que te detallo.
Si no enlazo las HBssl los errores desaparecen y la aplicación se compila sin problemas, excepto que no anda la HB_CMS_SignFile() :cry:


Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_SSL_INI' referenced from C:\WINFAR64\OBJ\WINFACEL.OBJ
Error: Unresolved external '_OPENSSL_init_crypto' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_PEM_read_bio_X509' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_PEM_read_bio_PrivateKey' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_X509_check_private_key' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_sign' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_EVP_sha1' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_add1_signer' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_final' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_BIO_new_file' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_BIO_ctrl' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_i2d_CMS_bio_stream' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_CMS_ContentInfo_free' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_X509_free' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unresolved external '_BIO_free' referenced from C:\HARBOUR\LIB\SIGNFILE.LIB|cms
Error: Unable to perform link

Estas son las lineas del código de mi prg que estoy tratando de reemplazar

cCmdSign := 'openssl smime' +;
' -sign' +;
' -in ' + cPath+ 'TRA.xml' +; // Archivo XML a Firmar
' -out ' + cPath+ 'TRA.tmp' +; // Archivo con la Firma
' -signer ' + cPath + cCert +; //
' -inkey ' + cPath + cPrivateKey + ; //
' -outform ' + 'DER' +; // Lo Graba en Binario ('PEM' lo graba como numeros con 4 lineas de titulos)
' -nodetach' // NO se Incluye el Archivo Original en la Salida
cBat := ''
cBat += 'path ' + cPathOpenSsl + CRLF
cBat += cCmdSign + CRLF

if( file(cPath+'FirmoXML.bat'),ferase(cPath+'FirmoXML.bat'),nil)
MemoWrit( cPath+'FirmoXML.bat', cBat )


* ssl_ini()
* nError := HB_CMS_SignFile('TRA.XML', cCert, cPrivateKey,'TRA.TMP' )
* ? nError


//.. Ejecuto el BAT para Generar TRA.tmp con la Firma
HB_run( cPath+'FirmoXML.bat' ) -> Este .bat llama al OpenSSL para firmar el certificado, es lo que quiero reemplazar !!
las líneas marcadas son las que reemplazaría a estas, si logramos hacer funcionar el HB_CMS_SignFile()

cCMS := MemoRead( cPath+'TRA.tmp' ) //.. Leo el Archivo Firmado

//.. Codifico en base64
cCMS_Base64 := hb_base64Encode( cCMS )

Bueno Antonio, te vuelvo a dar las gracias y ya no te quiero molestar mas...
Un gran abrazo
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Sat Sep 18, 2021 2:01 pm

Dime que valores tienen estos valores al comienzo del fichero make:

HBSSL_LIB
HBSSLS_LIB
EAY32_LIB
SSLEAY_LIB

Si puedes copiar aqui el make entero, mejor aún
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Sat Sep 18, 2021 2:07 pm

este es el archivo MAK completo

##############################################################################
# Template make file for FWH and Borland 7 Make tool #
# Pograma: Winfar64 #
##############################################################################


# Make directives ############################################################

.autodepend
.swap
.suffixes: .prg .hrb

# Flags for modules to include: YES | NO (must be UPPERCASE)##################

RES_FILE = YES
LNK_DBFNTX = YES
LNK_DBFCDX = YES
LNK_DEBUG = NO
LNK_ADVANTAGE = NO
LNK_ODBC = NO
MAP_FILE = YES
MULTI_HILO = NO

# Application directories & filenames ########################################

APP_NAME = WINFAR64 # ( nombre del EXE sin extension )
APP_PRG_DIR = .
APP_OBJ_DIR = .\OBJ # ( crear directorio app\obj )
APP_INCLUDE_DIR = .
APP_EXE_DIR = $(APP_PRG_DIR)
APP_RES_DIR = $(APP_PRG_DIR)

APP_EXE = $(APP_EXE_DIR)\$(APP_NAME).EXE
APP_RC = $(APP_RES_DIR)\$(APP_NAME).rc
APP_RES = $(APP_RES_DIR)\$(APP_NAME).res
APP_MAP = $(APP_RES_DIR)\$(APP_NAME).map

# Paths for dependent files ##################################################

.path.prg = $(APP_PRG_DIR)
.path.hrb = $(APP_OBJ_DIR)
.path.obj = $(APP_OBJ_DIR)

# programas PRG (los PRG fuentes van aqui) #############################

APP_PRG_LIST = win64dbu.prg \
rcolumn.prg \
rpreview.prg \
winfar64.prg \
winerror.prg \
wingraph.prg \
wintools.prg \
winpfisc.prg \
winopera.prg \
winindex.prg \
winStock.prg \
winclass.prg \
winfiltr.prg \
winobsoc.prg \
wincctes.prg \
winccpro.prg \
wintiket.prg \
wincredi.prg \
winpedi.prg \
winvali.prg \
winmovca.prg \
winlista.prg \
wincajer.prg \
wintraza.prg \
windbnew.prg \
winconsu.prg \
winccte2.prg \
winfacel.prg \



# APP_PRG_LIST2 =

# Contruccion del resto de la lista de dependencias ###################################

APP_PRGS = $(APP_PRG_LIST) # $(APP_PRG_LIST2)
APP_HRBS = $(APP_PRG_LIST:.prg=.hrb)
APP_OBJS = $(APP_PRG_LIST:.prg=.obj)

# Fivewin directorios ########################################################

FIVEWIN_INCLUDE_DIR = c:\fwh18\include
FIVEWIN_LIB_DIR = c:\fwh18\lib
MI_LIB_DIR = .\lib

# Fivewin librerias ##########################################################

FIVE_LIB = $(FIVEWIN_LIB_DIR)\fiveH.lib
FIVEC_LIB = $(FIVEWIN_LIB_DIR)\fiveHC.lib
FIVEXLS_LIB = $(FIVEWIN_LIB_DIR)\filexlsh.lib

# Harbour directorios & flags ################################################

HARBOUR_INCLUDE_DIR = c:\harbour\include
HARBOUR_EXE_DIR = c:\harbour\bin
HARBOUR_LIB_DIR = c:\harbour\lib
HARBOUR_FLAGS = -i$(HARBOUR_INCLUDE_DIR) -i$(FIVEWIN_INCLUDE_DIR) -n -m -a -es2 -gc0
HARBOUR_EXE = $(HARBOUR_EXE_DIR)\harbour.exe


# Harbour librerias ##########################################################

BTNGET_LIB = $(HARBOUR_LIB_DIR)\btnget32.lib
RTL_LIB = $(HARBOUR_LIB_DIR)\hbrtl.lib
!if $(MULTI_HILO) != YES
VM_LIB = $(HARBOUR_LIB_DIR)\hbvm.lib
!endif
!if $(MULTI_HILO) == YES
VM_LIB = $(HARBOUR_LIB_DIR)\hbvmmt.lib
!endif
GTGUI_LIB = $(HARBOUR_LIB_DIR)\gtgui.lib
LANG_LIB = $(HARBOUR_LIB_DIR)\hblang.lib
MACRO_LIB = $(HARBOUR_LIB_DIR)\hbmacro.lib
RDD_LIB = $(HARBOUR_LIB_DIR)\hbrdd.lib
DBFNTX_LIB = $(HARBOUR_LIB_DIR)\rddntx.lib
DBFCDX_LIB = $(HARBOUR_LIB_DIR)\rddcdx.lib
DBFFPT_LIB = $(HARBOUR_LIB_DIR)\rddfpt.lib
LETORD_LIB = $(HARBOUR_LIB_DIR)\rddleto.lib
LETO_LIB = $(HARBOUR_LIB_DIR)\leto.lib
SIX_LIB = $(HARBOUR_LIB_DIR)\hbsix.lib
SIX_EXT = $(HARBOUR_LIB_DIR)\hbextern.lib
DEBUG_LIB = $(HARBOUR_LIB_DIR)\hbdebug.lib
COMMON_LIB = $(HARBOUR_LIB_DIR)\hbcommon.lib
PP_LIB = $(HARBOUR_LIB_DIR)\hbpp.lib
CPAGE_LIB = $(HARBOUR_LIB_DIR)\hbcpage.lib
WIN_LIB = $(HARBOUR_LIB_DIR)\hbwin.lib
CPLR_LIB = $(HARBOUR_LIB_DIR)\hbcplr.lib
ZIP_LIB = $(HARBOUR_LIB_DIR)\hbmzip.lib
ARC_LIB = $(HARBOUR_LIB_DIR)\hbziparc.lib
Z_LIB = $(HARBOUR_LIB_DIR)\hbzlib.lib
MINI_LIB = $(HARBOUR_LIB_DIR)\minizip.lib
TIP_LIB = $(HARBOUR_LIB_DIR)\hbtip.lib
TIPSSL_LIB = $(HARBOUR_LIB_DIR)\hbtipssl.lib
HBSSL_LIB = $(HARBOUR_LIB_DIR)\hbssl.lib
HBSSLS_LIB = $(HARBOUR_LIB_DIR)\hbssls.lib
PCRE_LIB = $(HARBOUR_LIB_DIR)\hbpcre.lib
CT_LIB = $(HARBOUR_LIB_DIR)\hbct.lib
XPP_LIB = $(HARBOUR_LIB_DIR)\hbxpp.lib
X_LIB = $(HARBOUR_LIB_DIR)\xhb.lib
MISC_LIB = $(HARBOUR_LIB_DIR)\hbmisc.lib
XML_LIB = $(HARBOUR_LIB_DIR)\hbmxml.lib
NF_LIB = $(HARBOUR_LIB_DIR)\hbnf.lib
ZEBRA_LIB = $(HARBOUR_LIB_DIR)\hbzebra.lib
HBSSL_LIB = $(HARBOUR_LIB_DIR)\hbssl.lib
HBSSLS_LIB = $(HARBOUR_LIB_DIR)\hbssls.lib
EAY32_LIB = $(HARBOUR_LIB_DIR)\libeay32.lib
SSLEAY_LIB = $(HARBOUR_LIB_DIR)\ssleay32.lib
TIPSSL_LIB = $(HARBOUR_LIB_DIR)\hbtipssl.lib
SIGNFI_LIB = $(HARBOUR_LIB_DIR)\SignFile.lib

# Advantage Data Server librerias ##########################################
RDDADS_LIB = $(HARBOUR_LIB_DIR)\rddads.lib
ACE_LIB = $(HARBOUR_LIB_DIR)\ace32.lib


# Borlanc directorios & flags ################################################

BORLANDC_INCLUDE_DIR = c:\bcc7\include
BORLANDC_EXE_DIR = c:\bcc7\bin
BORLANDC_LIB_DIR = c:\bcc7\lib
BORLANDC_COMP_FLAGS = -tWM -DHB_GUI -DHB_API_MACROS -DHB_STACK_MACROS -DHB_FM_STATISTICS_OFF -d -a8 -OS -O2 -5 -c -I$(BORLANDC_INCLUDE_DIR) -I$(HARBOUR_INCLUDE_DIR)
BORLANDC_COMP_EXE = $(BORLANDC_EXE_DIR)\bcc32.exe
BORLANDC_LINK_FLAGS = -Gn -aa -Tpe -s -I$(APP_OBJ_DIR)
BORLANDC_LINK_EXE = $(BORLANDC_EXE_DIR)\ilink32.exe
BORLANDC_RES_EXE = $(BORLANDC_EXE_DIR)\brc32.exe

!if $(MAP_FILE) != YES
BORLANDC_LINK_FLAGS = $(BORLANDC_LINK_FLAGS) -x
!endif

# Borlandc librerias & archivos ##################################################

STARTUP_OBJ = $(BORLANDC_LIB_DIR)\c0w32.obj
!if $(MULTI_HILO) != YES
CW32_LIB = $(BORLANDC_LIB_DIR)\cw32.lib
!endif
!if $(MULTI_HILO) == YES
CW32_LIB = $(BORLANDC_LIB_DIR)\cw32mt.lib
!endif
IMPORT32_LIB = $(BORLANDC_LIB_DIR)\import32.lib
WS32_LIB = $(BORLANDC_LIB_DIR)\ws2_32.lib
UUID_LIB = $(BORLANDC_LIB_DIR)\uuid.lib
ODBC32_LIB = $(BORLANDC_LIB_DIR)\psdk\odbc32.lib
NDDEAPI_LIB = $(BORLANDC_LIB_DIR)\psdk\nddeapi.lib
IPHL_LIB = $(BORLANDC_LIB_DIR)\psdk\iphlpapi.lib
IMG32_LIB = $(BORLANDC_LIB_DIR)\psdk\msimg32.lib
RASAPI32_LIB = $(BORLANDC_LIB_DIR)\psdk\rasapi32.lib
GDIPLUS_LIB = $(BORLANDC_LIB_DIR)\psdk\gdiplus.lib
GDI32_LIB = $(BORLANDC_LIB_DIR)\psdk\gdi32.lib
SHELL32_LIB = $(BORLANDC_LIB_DIR)\psdk\shell32.lib


# Dependencias ###############################################################

all: $(APP_OBJS) $(APP_HRBS) $(APP_EXE)

!if $(RES_FILE) == YES
# all: $(APP_RES)
!endif

# Reglas implicitas #############################################################

.prg.hrb:
$(HARBOUR_EXE) $(HARBOUR_FLAGS) $** -o$@

.hrb.obj:
$(BORLANDC_COMP_EXE) $(BORLANDC_COMP_FLAGS) -o$@ $**

# Reglas Explicitas #############################################################

!if $(RES_FILE) == YES
$(APP_RES) : $(APP_RC)
$(BORLANDC_RES_EXE) -r $**

$(APP_EXE) :: $(APP_RES)
@if exist $(APP_EXE) del $(APP_EXE) > nul
!endif

$(APP_EXE) :: $(APP_OBJS)
@echo $(STARTUP_OBJ) + > make.tmp
@echo $(**), + >> make.tmp
@echo $(APP_EXE), + >> make.tmp
@echo $(APP_MAP), + >> make.tmp
@echo $(FIVE_LIB) + >> make.tmp
@echo $(FIVEC_LIB) + >> make.tmp
@echo $(FIVEXLS_LIB) + >> make.tmp
@echo $(BTNGET_LIB) + >> make.tmp
@echo $(RTL_LIB) + >> make.tmp
@echo $(VM_LIB) + >> make.tmp
@echo $(GTGUI_LIB) + >> make.tmp
@echo $(LANG_LIB) + >> make.tmp
@echo $(MACRO_LIB) + >> make.tmp
@echo $(RDD_LIB) + >> make.tmp
@echo $(DBFFPT_LIB) + >> make.tmp
@echo $(LETO_LIB) + >> make.tmp
@echo $(LETORD_LIB) + >> make.tmp
@echo $(SIX_LIB) + >> make.tmp
@echo $(SIX_EXT) + >> make.tmp
@echo $(PP_LIB) + >> make.tmp
@echo $(CPAGE_LIB) + >> make.tmp
@echo $(WIN_LIB) + >> make.tmp
@echo $(CPLR_LIB) + >> make.tmp
@echo $(ZIP_LIB) + >> make.tmp
@echo $(ARC_LIB) + >> make.tmp
@echo $(Z_LIB) + >> make.tmp
@echo $(MINI_LIB) + >> make.tmp
@echo $(TIP_LIB) + >> make.tmp
@echo $(PCRE_LIB) + >> make.tmp
@echo $(CT_LIB) + >> make.tmp
@echo $(XPP_LIB) + >> make.tmp
@echo $(XML_LIB) + >> make.tmp
@echo $(ZEBRA_LIB) + >> make.tmp
@echo $(NF_LIB) + >> make.tmp
@echo $(X_LIB) + >> make.tmp
@echo $(MISC_LIB) + >> make.tmp
@echo $(RDDADS_LIB) + >> make.tmp
@echo $(ACE_LIB) + >> make.tmp
@echo $(HBSSL_LIB) + >> make.tmp
@echo $(HBSSLS_LIB) + >> make.tmp
@echo $(EAY32_LIB) + >> make.tmp
@echo $(SSLEAY_LIB) + >> make.tmp
@echo $(TIPSSL_LIB) + >> make.tmp
@echo $(SIGNFI_LIB) + >> make.tmp

!if $(LNK_DBFNTX) == YES
@echo $(DBFNTX_LIB) + >> make.tmp
!endif
!if $(LNK_DBFCDX) == YES
@echo $(DBFCDX_LIB) + >> make.tmp
!endif
!if $(LNK_DEBUG) == YES
@echo $(DEBUG_LIB) + >> make.tmp
!endif
@echo $(COMMON_LIB) + >> make.tmp
@echo $(PP_LIB) + >> make.tmp
!if $(LNK_ADVANTAGE) == YES
@echo $(RDDADS_LIB) + >> make.tmp
@echo $(ACE32_LIB) + >> make.tmp
!endif
!if $(LNK_ODBC) == YES
@echo $(ODBC32_LIB) + >> make.tmp
!endif
@echo $(CW32_LIB) + >> make.tmp
@echo $(NDDEAPI_LIB) + >> make.tmp
@echo $(IPHL_LIB) + >> make.tmp
@echo $(IMG32_LIB) + >> make.tmp
@echo $(WS32_LIB) + >> make.tmp
@echo $(RASAPI32_LIB) + >> make.tmp
@echo $(UUID_LIB) + >> make.tmp
@echo $(GDI32_LIB) + >> make.tmp
@echo $(GDIPLUS_LIB) + >> make.tmp
@echo $(SHELL32_LIB) + >> make.tmp
@echo $(IMPORT32_LIB), + >> make.tmp


!if $(RES_FILE) == YES
@echo ,$(APP_RES) >> make.tmp
!endif
$(BORLANDC_LINK_EXE) $(BORLANDC_LINK_FLAGS) @make.tmp
@del $(APP_NAME).tds
@del make.tmp
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Sat Sep 18, 2021 2:11 pm

Estás usando la versión de Harbour que te he indicado ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Sat Sep 18, 2021 2:24 pm

si, baje la que me pasaste
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Sat Sep 18, 2021 3:31 pm

Raul,

Hay que usar una versión más actualizada de OpenSSL (https://github.com/openssl/openssl)

Aqui tienes la libcrypto-3.dll necesaria que tienes que usar y la librería de importación libcrypto-3.lib ya construida:
https://github.com/FiveTechSoft/FWH_tools/raw/master/Raul_signfile.zip

La forma de construirla ha sido:
set path=c:\bcc7\bin
implib.exe libcrypto-3.lib libcrypto-3.dll

Aqui ya se construye limpio :-) En el fichero zip va el .hbp y un go.bat que lo construye
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Sat Sep 18, 2021 3:49 pm

barbaro Antonio, la pruebo y despues te digo si funciona
saludos
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Sat Sep 18, 2021 9:43 pm

Antonio, debo darte de nuevo las gracias FUNCIONO A LA PERFECCION !!
Pude emitir Facturas Fiscales Electronicas sin ningún problema, sin pasar por el OpenSSL que era justo lo que yo necesitaba.
No sabes cuanto te agradezco el tiempo que me has dedicado y la ayuda que me has dado, solo no hubiera llegado :D
Hasta pronto y gracias de nuevo
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Sun Sep 19, 2021 7:07 am

gracias a ti por tu excelente feedback

Me alegro de que hayamos conseguido que funcione :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Baxajaun » Mon Sep 20, 2021 7:41 am

Buenos días !!!

Muchas gracias Antonio !!!!!!!!

un abrazo,
User avatar
Baxajaun
 
Posts: 968
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby jvtecheto » Tue Sep 21, 2021 11:57 am

rterraz wrote:Antonio, debo darte de nuevo las gracias FUNCIONO A LA PERFECCION !!
Pude emitir Facturas Fiscales Electronicas sin ningún problema, sin pasar por el OpenSSL que era justo lo que yo necesitaba.
No sabes cuanto te agradezco el tiempo que me has dedicado y la ayuda que me has dado, solo no hubiera llegado :D
Hasta pronto y gracias de nuevo


Hola amigo:

Enhorabuena por tu exito.

Podrias facilitarme esa libreria, tambien uso Borland, no me hace falta por ahora pero me parece muy interesante.

jvtechetoARROBAgmail.com

Muchas gracias.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
jvtecheto
 
Posts: 595
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Tue Sep 21, 2021 10:48 pm

Hola jvtecheto un gusto hablar contigo!
No se si en el foro hay alguna manera de subir archivos si no pasame tu email y te la envio por esa vía.
Ya esta probada y aqui en Argentina anda perfectamente y ahorra tener que instalar y usar el OpenSsl.
Le voy a pedir a Antonio que la ponga en algun lugar de donde la puedan bajar todos los que la necesiten.
Un abrazo
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby jvtecheto » Wed Sep 22, 2021 9:14 am

Hola amigo:

En mi anterior post tienes mi email. ( cambia ARROBA :lol: )

De todas formas si puedes subirla a bitbucket(preguntale a Antonio) yo creo que ayudaras a muchos usuarios.

Muchas gracias por tu esfuerzo en ayudar.

Un abrazo

Jose.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
jvtecheto
 
Posts: 595
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

PreviousNext

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 34 guests