HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Wed Sep 22, 2021 9:32 am

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 cjcardoza » Wed Sep 22, 2021 4:54 pm

Estimado rterraz
Te felicito por hacer funcionar la firma del XML de forma nativa en harbour, yo tambien estuve tras esta funcion y tambien en su momento usar el openssl pero por cuestion de la previa de la pantalla negra que muestra no lo implemente, consumo recursos de una Dll de un colega que lo construyo en .NET y consume los Framework de windows para realizar la firma aca en Peru, me gustaria probar si logro cumplir con lo que requiere SUNAT-Peru.
Por favor si pudieras publicar el segmento de codigo fuente que utilizar para remplazar al comando Openssl
Agradezco tu colaboracion.
cjcardoza
 
Posts: 37
Joined: Thu Jul 13, 2006 12:20 am
Location: Lima - Peru

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby rterraz » Thu Sep 23, 2021 1:39 pm

Hola Amigos
Aqui les dejo como uso la HB_cms_SignFile() en mi sistema para pedir un Ticket de Acceso a AFIP y emitir una factura electrónica en Agentina

//----------------------------------------------------------------------------//
FUNCTION Opc_PidoNuevoTA()

Local cBat, cOpenSSL,nError
Local nHandle
Local aRespuesta
local cCuitNew := cCuit
Local cSource := 'C=AR, O=' + cEmpresa + ', serialNumber=CUIT '+ cCuitNew +', CN='+cRazon
Local cDestinationDn := 'cn=wsaa,o=afip,c=ar,serialNumber=CUIT 33697454239'
local nId := val(LeeIni('FactElec','ID')) + 1
Local cUniqueId := cValToChar( nId ) // EL NUMERO QUE IDENTIFICA EL REQUERIMIENTO, TIENE QUE SER DISTINTO CADA VEZ
Local cGenerationTime := TimeFMT( HB_DateTime(), -1 ) // - 1Hs
Local cExpirationTime := TimeFMT( HB_DateTime(), 1 ) // + 1Hs
Local cService := 'wsfe' // The WS service name you are asking a TA for ( "wdepmovimientos", "wsfe" )
Local cXML := '' // Variable donde Armo el XML
Local cCMS := '' // Variable donde esta el XML y su Firma Electronica
Local cTRA := '' // Ticket de requerimiento de Acceso
Local cCMS_Base64 := '' // Variable donde esta el CMS Codificado en Base64
Local cCmdSign := '' // Comando para llamar a OpenSsl y Generar la Firma del Archivo XML
Local cPathOpenSsl := 'C:\OpenSSL-Win32\Bin' // Donde Tengo Instalado OpenSsl
Local cRespuesta := ''
local aErrores := {'Firma OK','al abrir el archivo .CRT','al abrir el archivo .KEY','al Crear el Objeto Private.Key',;
'...la Key no corresponde al Certificado','al abrir el archivo a Firmar','al crear el objeto CMS',;
'al asignar Data al objeto CMS','al cerrar la data del objeto CMS','al crear el Archivo de Salida',;
'en la generación final del archivo CMS' }

If File( cPath+'TA.xml')
Ferase( cPath+'TA.xml')
Ferase( cPath+'TRA.tmp')
Ferase( cPath+'TRA.xml')
End

* Grabo el nuevo numero de ID
EscribeIni( 'FactElec','ID', nId )

* Armo El Archivo Xml con el mensaje del TRA (LoginTicketRequest.xml)
cXml += '<?xml version="1.0" encoding="UTF-8"?>' + CRLF
cXml += '<loginTicketRequest version="1.0">' + CRLF
cXml += ' <header>' + CRLF
*cXml += ' <source>' + cSource + '</source>' + CRLF
*cXml += ' <destination>' + cDestinationDn + '</destination>' + CRLF
cXml += ' <uniqueId>' + cUniqueId + '</uniqueId>' + CRLF
cXml += ' <generationTime>' + cGenerationTime + '</generationTime>' + CRLF
cXml += ' <expirationTime>' + cExpirationTime + '</expirationTime>' + CRLF
cXml += ' </header>' + CRLF
cXml += ' <service>' + cService + '</service>' + CRLF
cXml += '</loginTicketRequest>' + CRLF

* Grabo el Archivo XML con el Nombre TRA.xml
If( ( nHandle := fcreate( cPath+'TRA.xml', 0 ) ) == -1 )
MsgStop( 'NO se pudo crear TRA.xml',' ERROR' )
Return( .F. )
Else
fWrite( nHandle, cXml )
fClose( nHandle )
End


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 )

//..si no tiene la libcrypto.dll usa OpenSSSL para generar TRA.TMP
IF file('.\libcrypto-3.dll')

nError := HB_CMS_SignFile( cPath + 'TRA.XML', '.\' + cCert, '.\' + cPrivateKey,cPath + 'TRA.TMP' )

if nError != 1
MsgStop( 'ERROR: ' + aErrores[nError] + CRLF +;
'REINTENTE...','ERROR EN GENERACION DEL TICKET DE ACCESO')
Retu .T.
endif

ELSE
HB_run( cPath+'FirmoXML.bat' ) //.. esto es lo que reemplaza la Hb_cms_signFile()

/* el archivo firmoXML.bat llama al openssl y contiene este comando:
path C:\OpenSSL-Win32\Bin
openssl smime -sign -in C:\Fiscales\Electronicas\TRA.xml -out C:\Fiscales\Electronicas\TRA.tmp -signer
C:\Fiscales\Electronicas\mariano_d79b556860f0566.crt -inkey C:\Fiscales\Electronicas\Privada.key -outform DER -nodetach
*/
ENDIF

cCMS := MemoRead( cPath+'TRA.tmp' ) // Leo el Archivo Firmado
* Codifico en base64
cCMS_Base64 := hb_base64Encode( cCMS ) // Funcion de Harbour

* Llamo al WS de Autenticaci¢n (WSAA)
//..excluir para hacer pruebas
cRespuesta := LlamoAlWSAA( cCMS_Base64 )

MemoWrit( cPath+'TA.xml', cRespuesta )
if empty(cRespuesta)
MsgStop( 'OCURRIO UN ERROR EN EL WEBSERVICE DE AFIP... ',' ERROR')
Retu .T.
endif

Retu .T.

Espero les sea de utilidad !
Abrazo a todos
User avatar
rterraz
 
Posts: 182
Joined: Wed Nov 08, 2006 11:44 pm
Location: Argentina

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby dhf27 » Tue Sep 28, 2021 12:24 pm

Hola, rterraz. Me alegro que hayas podido hacerlo funcionar!!! :lol: :lol: :lol: . Te cuento que actualmente tengo un cliente utilizando la funcion tal cual la publique en 2018 sin drama. Asi que dale gass sin dudas! como decimos aca...Los unicos problemas que tengo son en realidad cuando Afip se cae. Para lo demas no falla nunca. Tenes que agregarle unicamente la reutilizacion del TA, ya que a Afip no le gusta mucho que crees un TA nvo cuando tenes uno que aun no vencio.
Ademas te cuento que actualmente ya hace unos años estoy utilizando Python para todo lo que es WS de Afip. Hay una comunidad muyyy grande, muy activa y colaborativa sobre todo(PyAfipWS). Te la recomiendo.

Diego.


rterraz wrote:Hola Amigos
Aqui les dejo como uso la HB_cms_SignFile() en mi sistema para pedir un Ticket de Acceso a AFIP y emitir una factura electrónica en Agentina

//----------------------------------------------------------------------------//
FUNCTION Opc_PidoNuevoTA()

Local cBat, cOpenSSL,nError
Local nHandle
Local aRespuesta
local cCuitNew := cCuit
Local cSource := 'C=AR, O=' + cEmpresa + ', serialNumber=CUIT '+ cCuitNew +', CN='+cRazon
Local cDestinationDn := 'cn=wsaa,o=afip,c=ar,serialNumber=CUIT 33697454239'
local nId := val(LeeIni('FactElec','ID')) + 1
Local cUniqueId := cValToChar( nId ) // EL NUMERO QUE IDENTIFICA EL REQUERIMIENTO, TIENE QUE SER DISTINTO CADA VEZ
Local cGenerationTime := TimeFMT( HB_DateTime(), -1 ) // - 1Hs
Local cExpirationTime := TimeFMT( HB_DateTime(), 1 ) // + 1Hs
Local cService := 'wsfe' // The WS service name you are asking a TA for ( "wdepmovimientos", "wsfe" )
Local cXML := '' // Variable donde Armo el XML
Local cCMS := '' // Variable donde esta el XML y su Firma Electronica
Local cTRA := '' // Ticket de requerimiento de Acceso
Local cCMS_Base64 := '' // Variable donde esta el CMS Codificado en Base64
Local cCmdSign := '' // Comando para llamar a OpenSsl y Generar la Firma del Archivo XML
Local cPathOpenSsl := 'C:\OpenSSL-Win32\Bin' // Donde Tengo Instalado OpenSsl
Local cRespuesta := ''
local aErrores := {'Firma OK','al abrir el archivo .CRT','al abrir el archivo .KEY','al Crear el Objeto Private.Key',;
'...la Key no corresponde al Certificado','al abrir el archivo a Firmar','al crear el objeto CMS',;
'al asignar Data al objeto CMS','al cerrar la data del objeto CMS','al crear el Archivo de Salida',;
'en la generación final del archivo CMS' }

If File( cPath+'TA.xml')
Ferase( cPath+'TA.xml')
Ferase( cPath+'TRA.tmp')
Ferase( cPath+'TRA.xml')
End

* Grabo el nuevo numero de ID
EscribeIni( 'FactElec','ID', nId )

* Armo El Archivo Xml con el mensaje del TRA (LoginTicketRequest.xml)
cXml += '<?xml version="1.0" encoding="UTF-8"?>' + CRLF
cXml += '<loginTicketRequest version="1.0">' + CRLF
cXml += ' <header>' + CRLF
*cXml += ' <source>' + cSource + '</source>' + CRLF
*cXml += ' <destination>' + cDestinationDn + '</destination>' + CRLF
cXml += ' <uniqueId>' + cUniqueId + '</uniqueId>' + CRLF
cXml += ' <generationTime>' + cGenerationTime + '</generationTime>' + CRLF
cXml += ' <expirationTime>' + cExpirationTime + '</expirationTime>' + CRLF
cXml += ' </header>' + CRLF
cXml += ' <service>' + cService + '</service>' + CRLF
cXml += '</loginTicketRequest>' + CRLF

* Grabo el Archivo XML con el Nombre TRA.xml
If( ( nHandle := fcreate( cPath+'TRA.xml', 0 ) ) == -1 )
MsgStop( 'NO se pudo crear TRA.xml',' ERROR' )
Return( .F. )
Else
fWrite( nHandle, cXml )
fClose( nHandle )
End


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 )

//..si no tiene la libcrypto.dll usa OpenSSSL para generar TRA.TMP
IF file('.\libcrypto-3.dll')

nError := HB_CMS_SignFile( cPath + 'TRA.XML', '.\' + cCert, '.\' + cPrivateKey,cPath + 'TRA.TMP' )

if nError != 1
MsgStop( 'ERROR: ' + aErrores[nError] + CRLF +;
'REINTENTE...','ERROR EN GENERACION DEL TICKET DE ACCESO')
Retu .T.
endif

ELSE
HB_run( cPath+'FirmoXML.bat' ) //.. esto es lo que reemplaza la Hb_cms_signFile()

/* el archivo firmoXML.bat llama al openssl y contiene este comando:
path C:\OpenSSL-Win32\Bin
openssl smime -sign -in C:\Fiscales\Electronicas\TRA.xml -out C:\Fiscales\Electronicas\TRA.tmp -signer
C:\Fiscales\Electronicas\mariano_d79b556860f0566.crt -inkey C:\Fiscales\Electronicas\Privada.key -outform DER -nodetach
*/
ENDIF

cCMS := MemoRead( cPath+'TRA.tmp' ) // Leo el Archivo Firmado
* Codifico en base64
cCMS_Base64 := hb_base64Encode( cCMS ) // Funcion de Harbour

* Llamo al WS de Autenticaci¢n (WSAA)
//..excluir para hacer pruebas
cRespuesta := LlamoAlWSAA( cCMS_Base64 )

MemoWrit( cPath+'TA.xml', cRespuesta )
if empty(cRespuesta)
MsgStop( 'OCURRIO UN ERROR EN EL WEBSERVICE DE AFIP... ',' ERROR')
Retu .T.
endif

Retu .T.

Espero les sea de utilidad !
Abrazo a todos
dhf27
 
Posts: 16
Joined: Tue Jun 27, 2017 2:24 pm

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby lubin » Wed Jul 13, 2022 9:18 pm

Hola CJCardoza


Por casualidad lograste la firmar el Xml para sunat, podiras dar algun alcance o comentario

Gracias
User avatar
lubin
 
Posts: 449
Joined: Fri Dec 09, 2005 12:41 am
Location: Lima, Peru

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby richard-service » Fri Feb 03, 2023 8:22 am

Dear Antonio,

I try it and got error message below:

echo %hdirl%\hbhpdf.lib + >> b32.bc
echo %hdirl%\libhpdf.lib + >> b32.bc
echo %hdirl%\png.lib + >> b32.bc
echo %hdirl%\hbwin.lib + >> b32.bc
echo %hdirl%\gtgui.lib + >> b32.bc
echo %hdirl%\hbrtl.lib + >> b32.bc
echo %hdirl%\hbvm.lib + >> b32.bc
echo %hdirl%\hblang.lib + >> b32.bc
echo %hdirl%\hbmacro.lib + >> b32.bc
echo %hdirl%\hbrdd.lib + >> b32.bc
echo %hdirl%\rddntx.lib + >> b32.bc
echo %hdirl%\rddcdx.lib + >> b32.bc
echo %hdirl%\rddfpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\hbdebug.lib + >> b32.bc
echo %hdirl%\hbcommon.lib + >> b32.bc
echo %hdirl%\hbpp.lib + >> b32.bc
echo %hdirl%\hbcpage.lib + >> b32.bc
echo %hdirl%\hbcplr.lib + >> b32.bc
echo %hdirl%\hbct.lib + >> b32.bc
echo %hdirl%\hbpcre.lib + >> b32.bc
echo %hdirl%\xhb.lib + >> b32.bc
echo %hdirl%\hbziparc.lib + >> b32.bc
echo %hdirl%\hbmzip.lib + >> b32.bc
echo %hdirl%\hbzlib.lib + >> b32.bc
echo %hdirl%\minizip.lib + >> b32.bc
echo %hdirl%\png.lib + >> b32.bc
echo %hdirl%\hbusrrdd.lib + >> b32.bc
echo %hdirl%\hbtip.lib + >> b32.bc
echo %hdirl%\hbzebra.lib + >> b32.bc
echo %hdirl%\hbcurl.lib + >> b32.bc
echo %hdirl%\rddads.lib + >> b32.bc
echo %hdirl%\Ace32.lib + >> b32.bc
echo %hdirl%\hbssl.lib + >> b32.bc
echo %hdirl%\hbssls.lib + >> b32.bc
echo %hdirl%\libeay32.lib + >> b32.bc
echo %hdirl%\ssleay32.lib + >> b32.bc
echo %hdirl%\libcrypto-3.lib + >> b32.bc


Error: Unresolved external '_OpenSSL_add_all_ciphers' referenced from D:\FWH2102\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_init' referenced from D:\FWH2102\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_cleanup' referenced from D:\FWH2102\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unable to perform link
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Fri Feb 03, 2023 10:03 am

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 acuellar » Tue May 30, 2023 1:53 pm

Buenas estimados

He descargado el Raul_signfile.zip

y al compilar me da éste error
Code: Select all  Expand view

D:\Sistemas\IRRIGACION\ALMACEN\FirmaXml>D:\Sistemas\Compiler\Harbour\bin\hbmk2 raul.hbp
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'firmaxml.prg'...
Lines 379, Functions/Procedures 1
Generating C source output to 'C:\Users\acuellar\AppData\Local\Temp\hbmk_5z9amh.dir\firmaxml.c'... Done.
C:\Users\acuellar\AppData\Local\Temp\hbmk_5z9amh.dir\firmaxml.c:
Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'HBSSL.LIB'
hbmk2[raul]: Error: Running linker. 2
ilink32.exe @C:\Users\acuellar\AppData\Local\Temp\jchk2q.lnk
 


He buscado la libreria HBSSL.LIB y no la encuentro. he visto que se la tiene que crear con
Code: Select all  Expand view

-stop{wce}

-hblib
-inc

-o${hb_targetname}
-workdir=${hb_work}/${hb_plat}/${hb_comp}/${hb_targetname}

-w3 -es2

-depkeyhead=openssl:openssl/ssl.h
-depcontrol=openssl:no{HB_BUILD_3RDEXT='no'}
-depcontrol=openssl:${HB_WITH_OPENSSL}
-depincpath=openssl:/usr/local/opt/openssl/include
-depincpath=openssl:/usr/local/opt/libressl/include
-depincpath=openssl:/usr/include
-depincpath=openssl:/usr/local/include
-depincpath=openssl:/usr/local/ssl/include
-depincpath=openssl:/boot/common/include
-depincpath=openssl:/usr/pkg/include
-depfinish=openssl

{darwin}-cflag=-DOPENSSL_NO_SHA256
{darwin}-cflag=-DOPENSSL_NO_SHA512
{darwin}-cflag=-DOPENSSL_NO_CAMELLIA
{darwin}-cflag=-DOPENSSL_NO_DGRAM
{darwin}-cflag=-DHB_OPENSSL_OLD_OSX_

# Patent expires in 2010/2011
-cflag=-DOPENSSL_NO_IDEA

# to suppress Apple's deprecation warnings that apply to
# the complete OpenSSL API, starting with OS X Lion 10.7
-cflag={allgcc&darwin}-Wno-deprecated

# For _fileno() in openssl/applink.c
-c=gnu90

hbssl.hbx

ssl_hbcon.prg

ssl_hb.c
ssl_inet.c
ssl_sock.c
bio.c
err.c
evp.c
evpciph.c
evpenc.c
evpmd.c
evppkey.c
pem.c
rand.c
ssl.c
sslciph.c
sslctx.c
sslsess.c
x509.c
cms_singfile_pfx.c
cms.c



Cómo se crea?

Gracias por la ayuda
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1643
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Tue May 30, 2023 2:38 pm

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 acuellar » Tue May 30, 2023 4:14 pm

Muchas gracias estimado Antonio
No la pude crear :(
Pero la encontré en éste link que posteaste
https://github.com/FiveTechSoft/Harbour_builder/blob/master/harbour_win32_bcc_2020_10_19.zip
Con éste .PRG
Code: Select all  Expand view

#include "hbssl.ch"

Function main()
Local nError

/*
     RESULTADO
         1: Signing OK
         2: error opening .crt file
         3: error opening key file
         4: error creating PrivateKey object
         5: the Key does not correspond to the Certificate
         6: error opening file to sign
         7: error creating cms object
         8: error asigning data to cms object
         9: error closing data structure of cms object
        10: error creating out file
        11: error generating final cms file
*/

       
ssl_ini()
nError := HB_CMS_SIGNFILE( "TRA.XML", "CERT.CRT", "CERT.KEY", "TRA.TMP")
if ( nError !=1 )
    MsgInfo( nError )
endif

return nil
 


Me da éstos errores :(
Code: Select all  Expand view

D:\Sistemas\IRRIGACION\ALMACEN\FirmaXml>D:\Sistemas\Compiler\Harbour\bin\hbmk2 raul.hbp
Harbour 3.2.0dev (r2008190002)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling 'firmaxml.prg'...
Lines 348, Functions/Procedures 1
Generating C source output to 'C:\Users\acuellar\AppData\Local\Temp\hbmk_vrc1xw.dir\firmaxml.c'... Done.
C:\Users\acuellar\AppData\Local\Temp\hbmk_vrc1xw.dir\firmaxml.c:
Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_SSL_INI' referenced from C:\USERS\ACUELLAR\APPDATA\LOCAL\TEMP\HBMK_VRC1XW.DIR\FIRMAXML.OBJ
Error: Unresolved external '_HB_FUN_MSGINFO' referenced from C:\USERS\ACUELLAR\APPDATA\LOCAL\TEMP\HBMK_VRC1XW.DIR\FIRMAXML.OBJ
Error: Unable to perform link
hbmk2[raul]: Error: Running linker. 2
ilink32.exe @C:\Users\acuellar\AppData\Local\Temp\t7nn8w.lnk

hbmk2: Error: Referenced, missing, but unknown function(s): SSL_INI(),
       MSGINFO()
 


El .HBP
Code: Select all  Expand view

firmaxml.prg

cms.obj
cms_singfile_pfx.obj

-llibeay32
-lssleay32
-llibcrypto-3

hbssl.hbc
 


Gracias por la ayuda
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1643
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Tue May 30, 2023 4:29 pm

Prueba a cambiar ssl_ini() por ssl_init()

MsgInfo() falta pues no has enlazado las libs de FWH
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 acuellar » Tue May 30, 2023 6:18 pm

Muchas gracias Estimado Antonio

Hice los cambios
Code: Select all  Expand view

firmaxml.prg

cms.obj
cms_singfile_pfx.obj

-LD:\Sistemas\Compiler\FWH\LIB
-lfiveh
-lfivehc
-llibeay32
-lssleay32
-llibcrypto-3
-gtgui

hbssl.hbc
 

y ahora salen éstos errores :(
Code: Select all  Expand view

Error: Unresolved external '_HB_FUN_HB_FUNCPTR' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|CHECKRES
Error: Unresolved external '_HB_FUN_TRUENAME' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FILENAME
Error: Unresolved external '_HB_FUN_DRIVETYPE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FILENAME
Error: Unresolved external '_HB_FUN_NETRMTNAME' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FILENAME
Error: Unresolved external '_HB_FUN_REMRIGHT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FILENAME
Error: Unresolved external '_HB_FUN_EXENAME' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FILENAME
Error: Unresolved external '_HB_FUN_CTOT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HCLONE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HEVAL' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HSET' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_TOLEAUTO' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HHASKEY' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FWDECODE
Error: Unresolved external '_HB_FUN_RASCAN' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FWDECODE
Error: Unresolved external '_HB_FUN_OS_ISWTSCLIENT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|MENU
Error: Unresolved external '_HB_FUN_CHARREM' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_TOKENUPPER' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_CHARREPL' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_OCCURS' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_LOG10' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_FLOOR' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_NTOCMONTH' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_CHARONLY' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VSTRFUN1
Error: Unresolved external '_HB_FUN_HGETPAIRAT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VSTRFUN1
Error: Unresolved external '_HB_FUN_NUMTOKEN' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VSTRFUN1
Error: Unresolved external '_HB_FUN_TOKEN' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VSTRFUN1
Error: Unresolved external '_HB_FUN_BEFORATNUM' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_AFTERATNUM' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|BTNBMP
Error: Unresolved external '_HB_FUN_NUMTOHEX' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|BAR
Error: Unresolved external '_HB_FUN_ATSKIPSTRINGS' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|DBFFUNC1
Error: Unresolved external '_HB_FUN_VALTOPRGEXP' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|DBFFUNC1
Error: Unresolved external '_HB_FUN_HSETCASEMATCH' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_HMERGE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_HGETCASEMATCH' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TRECSET
Error: Unresolved external '_HB_FUN_STRTOHEX' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TRECSET
Error: Unresolved external '_HB_FUN_HB_ENUMINDEX' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|DATAROW
Error: Unresolved external '_HB_FUN_WILDMATCH' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TARRDATA
Error: Unresolved external '_HB_FUN_DATETIME' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TGET
Error: Unresolved external '_HB_FUN_TIMEVALID' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TGET
Error: Unresolved external '_HB_FUN_PADRIGHT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TGET
Error: Unresolved external '_HB_FUN_ANSITOWIDE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|PRV2PDF
Error: Unresolved external '_HB_FUN_TTOS' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|PRV2PDF
Error: Unresolved external '_HB_FUN_GETACTIVEOBJECT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_GETFILESINZIP' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPOPEN' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEFIRST' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEINFO' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEOPEN' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEREAD' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILECLOSE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILENEXT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPCLOSE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HEXTONUM' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|RTFBOX
Error: Unresolved external '_HB_FUN_CHARONE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|DATAROW
Error: Unresolved external '_HB_FUN_HB_DECODE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|PGSUPORT
Error: Unresolved external '_HB_FUN_HEXTOSTR' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|PGSUPORT
Error: Unresolved external '_HB_FUN_ATTOKEN' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|PGSUPORT
Error: Unresolved external '_HB_FUN_STOT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|DBFFUNC2
Error: Unresolved external '_HB_FUN_CEILING' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|DATAROW
Error: Unresolved external '_HB_FUN_BLANK' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|DBCOMBO
Error: Unresolved external '_HB_FUN_REMALL' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_RANGEREPL' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN___OLEVARIANTNEW' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_HB_EXEC' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_HB_REGEXREPLACE' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_REMLEFT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_POSCHAR' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_WIDETOANSI' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TRICHED5
Error: Unresolved external '_HB_FUN_I18N' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|TRICHED5
Error: Unresolved external '_hb_oleVariantToItem' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEHC.LIB|ACTX
Error: Unresolved external '_hb_oleItemToVariant' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEHC.LIB|ACTX
Error: Unresolved external '_hb_oleParam' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEHC.LIB|ACTX
Error: Unresolved external '_HB_FUN_WIN_AXINIT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ACTIVEX
Error: Unresolved external '_HB_FUN_WAPI_CREATEWINDOWEX' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ACTIVEX
Error: Unresolved external '_HB_FUN_WIN_AXGETCONTROL' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ACTIVEX
Error: Unresolved external '_HB_FUN_WAPI_OUTPUTDEBUGSTRING' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ACTIVEX
Error: Unresolved external '_HB_FUN_POSREPL' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_ASCPOS' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_ADDMONTH' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_EOM' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_TIMETOSEC' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_SECTOTIME' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_ISLEAP' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_CHARMIRR' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_CHARSWAP' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_NUMAT' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|MENUITEM
Error: Unresolved external '_HB_FUN_GETVOLINFO' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|OLDFUNC
Error: Unresolved external '_HB_FUN_MESSAGEBOX' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|ERFILE
Error: Unresolved external '_HB_FUN_PI' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|IMGTXTIO
Error: Unresolved external '_HB_FUN_SIN' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|IMGTXTIO
Error: Unresolved external '_HB_FUN_COS' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|IMGTXTIO
Error: Unresolved external '_HB_FUN_DTOR' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|IMGTXTIO
Error: Unresolved external '_HB_FUN_NOTIFY' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|WINDOW
Error: Unresolved external '_HB_FUN_SETFATTR' referenced from D:\SISTEMAS\COMPILER\FWH\LIB\FIVEH.LIB|FILENAME
Error: Unresolved external '_SSL_library_init' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_load_error_strings' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSLeay_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSLeay' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_free' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CTX_free' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_server_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_client_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_server_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_client_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_server_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_client_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_new' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_ssl_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_cipher_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_add_session' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_SESSION_free' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_new' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_set_time' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_set_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_get_time' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_get_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_CTX_remove_session' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_flush_sessions' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_check_private_key' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_verify_mode' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_add_client_CA' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_client_CA_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_sk_num' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_sk_value' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_ctrl' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_chain_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_PrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_RSAPrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_RSAPrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_PrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_OPENSSL_add_all_algorithms_noconf' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evp
Error: Unresolved external '_EVP_cleanup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evp
Error: Unresolved external '_OpenSSL_add_all_ciphers' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_init' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_cleanup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_OpenSSL_add_all_digests' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_destroy' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_sha' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_dss' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_dss1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_ecdsa' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_create' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_cleanup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_SSL_CTX_use_PrivateKey' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_load_verify_locations' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_default_verify_paths' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_new' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_dup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_accept' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_clear' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_pending' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_BIO_set' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|bio
Error: Unresolved external '_SSL_set_bio' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_rbio' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_wbio' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_connect' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_do_handshake' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_renegotiate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_fd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_rfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_wfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_read' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_peek' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_want' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_write' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_ssl_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_ssl_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_bits' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_cipher_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_cipher_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_name' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_current_cipher' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_copy_session_id' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_shared_ciphers' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_desc_string' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_desc_string_long' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_type_string' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_type_string_long' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_rstate_string' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_check_private_key' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_error' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_fd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_rfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_wfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_verify_mode' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_state' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_default_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_verify_result' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_accept_state' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_connect_state' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_verify' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_read_ahead' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_verify_result' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_peer_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_add_client_CA' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_RSAPrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_ciphers' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_client_CA_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_load_client_CA_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_RSAPrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_ctrl' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_msg_callback' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl

 


Gracias por la ayuda
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1643
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby acuellar » Tue May 30, 2023 8:46 pm

Estimado Antonio

He logrado que no de error de FWH

Me siguen saliendo los de la libreria HBSS.LIB :(
Code: Select all  Expand view

Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_SSL_library_init' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_load_error_strings' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSLeay_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSLeay' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_free' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CTX_free' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_server_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv3_client_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_server_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_TLSv1_client_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_server_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_client_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSLv23_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_new' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_ssl_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_cipher_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_add_session' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_SESSION_free' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_new' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_set_time' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_set_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_get_time' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_SESSION_get_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslsess
Error: Unresolved external '_SSL_CTX_remove_session' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_flush_sessions' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_check_private_key' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_verify_mode' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_add_client_CA' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_get_client_CA_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_sk_num' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_sk_value' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_ctrl' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_chain_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_PrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_RSAPrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_RSAPrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_PrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_use_certificate_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_OPENSSL_add_all_algorithms_noconf' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evp
Error: Unresolved external '_EVP_cleanup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evp
Error: Unresolved external '_OpenSSL_add_all_ciphers' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_init' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_EVP_CIPHER_CTX_cleanup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpciph
Error: Unresolved external '_OpenSSL_add_all_digests' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_destroy' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_sha' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_dss' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_dss1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_ecdsa' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_create' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_EVP_MD_CTX_cleanup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|evpmd
Error: Unresolved external '_SSL_CTX_use_PrivateKey' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_load_verify_locations' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_set_default_verify_paths' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_new' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_dup' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_accept' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_clear' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_pending' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_BIO_set' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|bio
Error: Unresolved external '_SSL_set_bio' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_rbio' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_wbio' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_connect' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_do_handshake' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_renegotiate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_fd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_rfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_wfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_read' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_peek' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_want' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_write' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_ssl_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_ssl_method' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_bits' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_cipher_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_cipher_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_name' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_current_cipher' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_CIPHER_get_version' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_copy_session_id' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_shared_ciphers' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_desc_string' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_desc_string_long' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_type_string' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_alert_type_string_long' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_rstate_string' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_check_private_key' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_error' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_fd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_rfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_wfd' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_verify_mode' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_state' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_default_timeout' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_verify_result' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_accept_state' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_connect_state' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_verify' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_quiet_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_read_ahead' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_shutdown' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_verify_result' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_peer_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_add_client_CA' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_RSAPrivateKey_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_ciphers' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_get_client_CA_list' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_load_client_CA_file' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_RSAPrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_certificate_ASN1' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_use_PrivateKey' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_ctrl' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
Error: Unresolved external '_SSL_set_msg_callback' referenced from D:\SISTEMAS\COMPILER\HARBOUR\LIB\HBSSL.LIB|ssl
firmaXml.EXE - 134 error(es), 0 advertencia(s)

 


Gracias por la ayuda
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1643
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

Postby Antonio Linares » Wed May 31, 2023 7:23 am

Necesitas enlazar las librerías de importación. Para construirlas sigue estas indicaciones:

viewtopic.php?p=259427&sid=f26a5a76b5af134a3c70f65705e3edad#p259427
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

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], nageswaragunupudi and 52 guests