diff --git a/ssl_openssl.pas b/ssl_openssl.pas index 8fcfcaa..1f6d3bd 100644 --- a/ssl_openssl.pas +++ b/ssl_openssl.pas @@ -86,7 +86,7 @@ accepting of new connections! {$WARN IMPLICIT_STRING_CAST_LOSS OFF} {$ENDIF} -unit ssl_openssl; +unit ssl_openssl{$IFDEF SUPPORTS_DEPRECATED} deprecated{$IFDEF SUPPORTS_DEPRECATED_DETAILS} 'Use ssl_openssl3 with OpenSSL 3.0 instead'{$ENDIF}{$ENDIF}; interface diff --git a/ssl_openssl11.pas b/ssl_openssl11.pas index 69e094b..53b3808 100644 --- a/ssl_openssl11.pas +++ b/ssl_openssl11.pas @@ -82,7 +82,7 @@ accepting of new connections! {$WARN IMPLICIT_STRING_CAST_LOSS OFF} {$ENDIF} -unit ssl_openssl11; +unit ssl_openssl11{$IFDEF SUPPORTS_DEPRECATED} deprecated{$IFDEF SUPPORTS_DEPRECATED_DETAILS} 'Use ssl_openssl3 with OpenSSL 3.0 instead'{$ENDIF}{$ENDIF}; interface