Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

SSL_CTX_ctrl (3openssl)

Name

SSL_CTX_ctrl - internal handling functions for SSL_CTX and SSL objects

Synopsis

#include <openssl/ssl.h>

long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());

long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());

Description

SSL_CTX_ctrl(3openssl)              OpenSSL             SSL_CTX_ctrl(3openssl)



NAME
       SSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl -
       internal handling functions for SSL_CTX and SSL objects

SYNOPSIS
        #include <openssl/ssl.h>

        long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
        long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());

        long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
        long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());

DESCRIPTION
       The SSL_*_ctrl() family of functions is used to manipulate settings of
       the SSL_CTX and SSL objects. Depending on the command cmd the arguments
       larg, parg, or fp are evaluated. These functions should never be called
       directly. All functionalities needed are made available via other
       functions or macros.

RETURN VALUES
       The return values of the SSL*_ctrl() functions depend on the command
       supplied via the cmd parameter.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | library/security/openssl |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+

SEE ALSO
       ssl(3)



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://www.openssl.org/source/openssl-1.0.2ze.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.openssl.org/.



1.0.2ze                           2022-05-03            SSL_CTX_ctrl(3openssl)