#include "ace/Handle_Set.h"
#include "ace/Log_Msg.h"
#include "ace/Countdown_Time.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_sys_select.h"
#include "ace/OS_Memory.h"
#include <openssl/err.h>
#include "SSL_SOCK_Stream.h"
Include dependency graph for SSL_SOCK_Stream.cpp:
Go to the source code of this file.
Functions | |
ACE_RCSID (ACE_SSL, SSL_SOCK_Stream,"SSL_SOCK_Stream.cpp, v 1.35 2006/06/22 15:10:08 shuston Exp") ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_SSL_SOCK_Stream |
|
Definition at line 18 of file SSL_SOCK_Stream.cpp. References ACE_BEGIN_VERSIONED_NAMESPACE_DECL, ACE_ERROR, ACE_TEXT, ACE_TRACE, ACE_SSL_Context::context(), ACE_SSL_Context::instance(), and LM_ERROR.
00020 :10:08 shuston Exp") 00021 00022 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00023 00024 ACE_ALLOC_HOOK_DEFINE(ACE_SSL_SOCK_Stream) 00025 00026 ACE_SSL_SOCK_Stream::ACE_SSL_SOCK_Stream (ACE_SSL_Context *context) 00027 : ssl_ (0), 00028 stream_ () 00029 { 00030 ACE_TRACE ("ACE_SSL_SOCK_Stream::ACE_SSL_SOCK_Stream"); 00031 00032 ACE_SSL_Context * ctx = 00033 (context == 0 ? ACE_SSL_Context::instance () : context); 00034 00035 this->ssl_ = ::SSL_new (ctx->context ()); 00036 00037 if (this->ssl_ == 0) 00038 { 00039 ACE_ERROR ((LM_ERROR, 00040 "(%P|%t) ACE_SSL_SOCK_Stream " 00041 "- cannot allocate new SSL structure %p\n", 00042 ACE_TEXT (""))); 00043 } 00044 } |