Tidy up EC parameter check code: instead of accessing internal structures
[openssl.git] / doc / ssl / SSL_COMP_add_compression_method.pod
index 9e970044a6b063017db83e150069dbc24879b1ba..42fa66b1975179192dc7a9a23d5afc7323525b98 100644 (file)
@@ -41,17 +41,23 @@ of compression methods supported on a per connection basis.
 The OpenSSL library has the compression methods B<COMP_rle()> and (when
 especially enabled during compilation) B<COMP_zlib()> available.
 
+=head1 WARNINGS
+
+Once the identities of the compression methods for the TLS protocol have
+been standardized, the compression API will most likely be changed. Using
+it in the current state is not recommended.
+
 =head1 RETURN VALUES
 
 SSL_COMP_add_compression_method() may return the following values:
 
 =over 4
 
-=item 1
+=item 0
 
 The operation succeeded.
 
-=item 0
+=item 1
 
 The operation failed. Check the error queue to find out the reason.