BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Macros | Functions
openssl.cpp File Reference
#include <fc/crypto/openssl.hpp>
#include <fc/filesystem.hpp>
#include <boost/filesystem/path.hpp>
#include <cstdlib>
#include <string>
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  fc::openssl_scope
 

Namespaces

 fc
 

Macros

#define SSL_TYPE_IMPL(name, ssl_type, free_func)
 

Functions

void fc::store_configuration_path (const path &filePath)
 
int fc::init_openssl ()
 

Macro Definition Documentation

#define SSL_TYPE_IMPL (   name,
  ssl_type,
  free_func 
)
Value:
name::name( ssl_type* obj ) : ssl_wrapper(obj) {} \
name::name( name&& move ) : ssl_wrapper( move.obj ) \
{ \
move.obj = nullptr; \
} \
name::~name() \
{ \
if( obj != nullptr ) \
free_func(obj); \
} \
name& name::operator=( name&& move ) \
{ \
if( this != &move ) \
{ \
if( obj != nullptr ) \
free_func(obj); \
obj = move.obj; \
move.obj = nullptr; \
} \
return *this; \
}

Definition at line 67 of file openssl.cpp.