I noticed that between 0.9.6k and 0.9.6l return values in
SSL_COMP_add_compression_method() have been swapped to return 1 on
failure and 0 on success. The same has been done in CVS versions
(and probably will be released in 0.9.7d).

But documentation (doc/ssl/SSL_COMP_add_compression_method.pod file and
manual page generated from it - I've checked 0.9.6k sources, online docs on
openssl.org and CVS tree) still says the opposite:

=head1 RETURN VALUES

SSL_COMP_add_compression_method() may return the following values:

=over 4

=item 1

The operation succeeded.

=item 0

The operation failed. Check the error queue to find out the reason.

=back


If the change was correct, documentation should be updated too...


(I'm not attaching results of make report, because it isn't any
local/build problem)

-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/
PLD Linux       http://www.pld-linux.org/

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to