Jump to content
Amidey

Compilation error without USE_SSL in ICS 9.5

Recommended Posts

TWSocketServer causes a compilation error without USE_SSL in version 9.5, while it works correctly in version 9.4. I'm using Delphi 12.3.

 

{ Comment out the next line to remove SSL code from the binary.              }
{ Beware many components and features will be unavailable.                   }
//{$DEFINE USE_SSL}

 

image.thumb.png.ad194c7608cd31d704b2c7da8c2bf08f.png

Share this post


Link to post

I no longer test building without USE_SSL, it will be unsupported in ICS V10.  

 

You will need to add  {$IFDEF USE_SSL} {$ENDIF} around those two lines, they used to be in an SSL only function, but moved.  

 

Angus

 

 

Share this post


Link to post

Thank you, I added {$IFDEF USE_SSL} {$ENDIF} and the compilation error was resolved. Is there any consequence of not using those lines?

Edited by Amidey

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×