Manual Pages for UNIX Darwin command on man SSL_get_accept_state
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_get_accept_state

SSLsetconnectstate(3) OpenSSL SSLsetconnectstate(3)

NAME

SSLsetconnectstate, SSLgetacceptstate - prepare SSL object to

work in client or server mode

SYNOPSIS

#include

void SSLsetconnectstate(SSL *ssl); void SSLsetacceptstate(SSL *ssl);

DESCRIPTION

SSLsetconnectstate() sets ssssll to work in client mode. SSLsetacceptstate() sets ssssll to work in server mode. NNOOTTEESS When the SSLCTX object was created with SSLCTXnew(3), it was either assigned a dedicated client method, a dedicated server method, or a generic method, that can be used for both client and server connections. (The method might have been changed with SSLCTXsetsslversion(3) or SSLsetsslmethod().) When beginning a new handshake, the SSL engine must know whether it must call the connect (client) or accept (server) routines. Even though it may be clear from the method chosen, whether client or server mode was requested, the handshake routines must be explicitly set. When using the SSLconnect(3) or SSLaccept(3) routines, the correct handshake routines are automatically set. When performing a transparent negotiation using SSLwrite(3) or SSLread(3), the handshake routines must be explicitly set in advance using either SSLsetconnectstate() or SSLsetacceptstate().

RETURN VALUES

SSLsetconnectstate() and SSLsetacceptstate() do not return diagnostic information.

SEE ALSO

ssl(3), SSLnew(3), SSLCTXnew(3), SSLconnect(3), SSLaccept(3), SSLwrite(3), SSLread(3), SSLdohandshake(3), SSLCTXsetsslversion(3)

0.9.7l 2002-07-19 SSLsetconnectstate(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™