1SSL_get_version(3)                  OpenSSL                 SSL_get_version(3)
2
3
4

NAME

6       SSL_get_version - get the protocol version of a connection.
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        const char *SSL_get_version(const SSL *ssl);
12

DESCRIPTION

14       SSL_get_cipher_version() returns the name of the protocol used for the
15       connection ssl.
16

RETURN VALUES

18       The following strings can occur:
19
20       SSLv2
21           The connection uses the SSLv2 protocol.
22
23       SSLv3
24           The connection uses the SSLv3 protocol.
25
26       TLSv1
27           The connection uses the TLSv1 protocol.
28
29       unknown
30           This indicates that no version has been set (no connection
31           established).
32

SEE ALSO

34       ssl(3)
35
36
37
381.0.1e                            2013-02-11                SSL_get_version(3)
Impressum