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