Re: [twsocket] constant redeclared

2018-10-07 Thread Angus Robertson - Magenta Systems Ltd
> Just to inform that these constants are redeclared.
> I could not determine if this was intentional.
> Is not this a source of error?

Not intentional, I've created hundreds of private keys and certificates
this year and have not seen any problems.  

But I will see which is correct, EVP_MAX_KEY_LENGTH may have changed in
the last 10 years, and fix the duplicates. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] constant redeclared

2018-10-07 Thread Nicolas MARCHAND

Hello,

Just to inform that these constants are redeclared.

I could not determine if this was intentional.

Is not this a source of error?

OverbyteIcsLIBEAY.pas is in compliance with the latest version of 
OpenSSL sources.


OverbyteIcsSSLEAY.pas :

    EVP_MAX_IV_LENGTH = 16;  { 03/02/07 AG }
    EVP_MAX_BLOCK_LENGTH  = 32;  { 11/08/07 AG }
    EVP_MAX_KEY_LENGTH    = 32;  { 11/08/07 AG }

OverbyteIcsLIBEAY.pas :

    EVP_MAX_KEY_LENGTH    = 64;  { V8.52 }
    EVP_MAX_IV_LENGTH = 16;  { V8.52 }
    EVP_MAX_BLOCK_LENGTH  = 32;  { V8.52 }

Nicolas
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be