Jump to content

nSolvePaul

Members
  • Content Count

    16
  • Joined

  • Last visited

Posts posted by nSolvePaul


  1. Hi Angus

     

    Thanks for checking.  We actually starting using the Delphi build a few months back, instead of our usual C++ means (having move from CB2007 to RADS 11),  But we are facing an issue where TWSocket is NOT receiving anything.  So  I wanted to build ICS using C++ again to prove that is not the issue, however the our C++ exe now has a link error stating unable to find OVERBYTEICSWSOCKETS.OBJ (with the ics C++, yet it is most definitely in the bpls and the bpls are linked in).   A long way of saying currently I'm NOT able to prove the ICS C++ projects are valid - I'll keep trying though. 


  2. Thanks for quick replay Angus.

    The HPP files are automatically built during the build of the library (I'm sure you know this)

    The same issue existed on a second computer, the resolution being the same.

    Though as mentioned many moons ago we have many many steps to get ICS to build on BCB2007 - most of the steps involving commenting out stuff in the headers and that was what made this issue very odd - I had to add stuff back!

     

    We are moving to Embarcadero C++ 10.4.2 so hopefully much of this will go away

     

     


  3. After a lot of faffing and comparison I found that if OverbyteIcsSuperObject.hpp does NOT include class PASCALIMPLEMENTATION TSuperWriterSock : public TSuperWriter  BCB2007 gives an  F1004 Internal compiler error at 0x7300800 with base 0x72d0000

     

    Adding this class defn back enabled our application to build again

     

    No idea why

    Is it still even relevant?


  4. A client reports that allow TLSv1.0 is a security issue. So I set my SslOptions accordingly:

     

                m_pSslContext->SslOptions = m_pSslContext->SslOptions
                                            << sslOpt_NO_SSLv2     
                                            << sslOpt_NO_SSLv3     
                                            << sslOpt_NO_TLSv1     
                                            << sslOpt_CIPHER_SERVER_PREFERENCE      //When choosing a cipher, use the server's preferences instead of the client preferences.
                                            << sslOpt_SINGLE_DH_USE;      //single DH needed for perfect forward secrecy

     

    However I'm still getting a TLSv1.0 connection (using 'openssl s_client -connect mywebsite.com:22017 -tls1')

     

    What is the correct manner to disable a TLSv1.0 connection (and any tips on how to prove I've disabled it please)

    Thanks


  5. { Next symbol enables automatic SSL/TLS ordering in SocketServer and other servers }
    { Unfortunately this adds a lot of other units, HTTPS REST, Json, OAuth2, etc }
    {$DEFINE AUTO_X509_CERTS}

     

    I wished to use the library without this functionality.  However when I remove the AUTO_X509_CERTS the library no longer builds in Borland C++ 2007 instead I'm forced to leave it in and also I then need to link to:

    #pragma link "Crypt32.lib"
    #pragma link "Cryptui.lib"

    in my application.

     

     


  6. {$HPPEMIT 'typedef HCRYPTPROV *PHCRYPTPROV'}
    {$HPPEMIT 'typedef HCRYPTKEY *PHCRYPTKEY'}
    {$HPPEMIT 'typedef HCRYPTHASH *PHCRYPTHASH'}
    {$HPPEMIT 'typedef PROV_ENUMALGS *PPROV_ENUMALGS'}
    {$HPPEMIT 'typedef PROV_ENUMALGS_EX *PPROV_ENUMALGS_EX'}
    {$HPPEMIT 'typedef PUBLICKEYSTRUC *PPUBLICKEYSTRUC'}
    {$HPPEMIT 'typedef RSAPUBKEY *PRSAPUBKEY'}
    {$HPPEMIT 'typedef DSSSEED *PDSSSEED'}
    {$HPPEMIT 'typedef PUBKEYVER3 *PPUBKEYVER3'}
    {$HPPEMIT 'typedef DHPRIVKEY_VER3 *PPRIVKEYVER3'}
    {$HPPEMIT 'typedef CERT_FORTEZZA_DATA_PROP *PCERT_FORTEZZA_DATA_PROP'}
    {$HPPEMIT 'typedef HCRYPTMSG *PHCRYPTMSG'}
    {$HPPEMIT 'typedef CMSG_RECIPIENT_ENCODE_INFO *PCMSG_RECIPIENT_ENCODE_INFO'}
    {$HPPEMIT 'typedef _CMSG_RECIPIENT_ENCODE_INFO CMSG_RECIPIENT_ENCODE_INFO'}
    {$HPPEMIT 'typedef PCMSG_KEY_AGREE_KEY_ENCRYPT_INFO *PPCMSG_KEY_AGREE_KEY_ENCRYPT_INFO'}
    {$HPPEMIT 'typedef HCERTSTORE *PHCERTSTORE'}
    {$HPPEMIT 'typedef PCCERT_CONTEXT *PPCCERT_CONTEXT'}
    {$HPPEMIT 'typedef PCCRL_CONTEXT *PPCCRL_CONTEXT'}
    {$HPPEMIT 'typedef PCERT_CHAIN_CONTEXT *PPCCERT_CHAIN_CONTEXT'}

     

     

    can you add a trailing ';' to these statements please

    {$HPPEMIT 'typedef HCRYPTPROV *PHCRYPTPROV;'}

     

    as Borland CBuilder 2007 needs them

    Thanks

     

    PS is this the correct manner to report bugs/code change requests?

×