#include <SSLIOP_SSL.h>
Public Types | |
enum | { LOCK_ID = CRYPTO_LOCK_SSL } |
Static Public Member Functions | |
::SSL * | _duplicate (::SSL *st) |
Increase the reference count on the given OpenSSL structure. | |
::SSL * | copy (::SSL const &st) |
Perform deep copy of the given OpenSSL structure. | |
void | release (::SSL *st) |
|
OpenSSL lock ID for use in OpenSSL CRYPTO_add() reference count manipulation function. Definition at line 44 of file SSLIOP_SSL.h.
00044 { LOCK_ID = CRYPTO_LOCK_SSL }; |
|
Increase the reference count on the given OpenSSL structure.
Definition at line 52 of file SSLIOP_SSL.h.
00053 { 00054 if (st != 0) 00055 CRYPTO_add (&(st->references), 00056 1, 00057 LOCK_ID); 00058 00059 return st; 00060 } |
|
Perform deep copy of the given OpenSSL structure.
Definition at line 63 of file SSLIOP_SSL.h.
00064 { 00065 return ::SSL_dup (const_cast< ::SSL * > (&st)); 00066 } |
|
Decrease the reference count on the given OpenSSL structure. Definition at line 70 of file SSLIOP_SSL.h.
00071 { 00072 ::SSL_free (st); 00073 } |