1SSL_SESSION_GET_COMPRESS_ID(3) OpenSSL SSL_SESSION_GET_COMPRESS_ID(3)
2
3
4
6 SSL_SESSION_get_compress_id - get details about the compression
7 associated with a session
8
10 #include <openssl/ssl.h>
11
12 unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);
13
15 If compression has been negotiated for an ssl session then
16 SSL_SESSION_get_compress_id() will return the id for the compression
17 method or 0 otherwise. The only built-in supported compression method
18 is zlib which has an id of 1.
19
21 SSL_SESSION_get_compress_id() returns the id of the compression method
22 or 0 if none.
23
25 ssl(7)
26
28 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
29
30 Licensed under the OpenSSL license (the "License"). You may not use
31 this file except in compliance with the License. You can obtain a copy
32 in the file LICENSE in the source distribution or at
33 <https://www.openssl.org/source/license.html>.
34
35
36
371.1.1 2018-09-11 SSL_SESSION_GET_COMPRESS_ID(3)