SSL_SESSION_get_compress_id.pod 940 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. =pod
  2. =head1 NAME
  3. SSL_SESSION_get_compress_id
  4. - get details about the compression associated with a session
  5. =head1 SYNOPSIS
  6. #include <openssl/ssl.h>
  7. unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);
  8. =head1 DESCRIPTION
  9. If compression has been negotiated for an ssl session then
  10. SSL_SESSION_get_compress_id() will return the id for the compression method or
  11. 0 otherwise. The only built-in supported compression method is zlib which has an
  12. id of 1.
  13. =head1 RETURN VALUES
  14. SSL_SESSION_get_compress_id() returns the id of the compression method or 0 if
  15. none.
  16. =head1 SEE ALSO
  17. L<ssl(7)>
  18. =head1 COPYRIGHT
  19. Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  20. Licensed under the Apache License 2.0 (the "License"). You may not use
  21. this file except in compliance with the License. You can obtain a copy
  22. in the file LICENSE in the source distribution or at
  23. L<https://www.openssl.org/source/license.html>.
  24. =cut