OpenDDS
Snapshot(2023/04/28-20:55)
dds
DCPS
security
OpenSSL_init.h
Go to the documentation of this file.
1
/*
2
* Distributed under the OpenDDS License.
3
* See: http://www.opendds.org/license.html
4
*/
5
6
/**
7
* This is separate from OpenSSL_legacy.h to use in the SSL Unit Test Main.cpp
8
*/
9
10
#ifndef OPENDDS_DCPS_SECURITY_OPENSSL_INIT_H
11
#define OPENDDS_DCPS_SECURITY_OPENSSL_INIT_H
12
13
#include <openssl/evp.h>
14
15
#if OPENSSL_VERSION_NUMBER < 0x10100000L
16
17
inline
void
openssl_init
()
18
{
19
OpenSSL_add_all_algorithms();
20
}
21
22
inline
void
openssl_cleanup
()
23
{
24
EVP_cleanup();
25
}
26
27
#else
28
29
inline
void
openssl_init
()
30
{
31
}
32
33
inline
void
openssl_cleanup
()
34
{
35
}
36
37
#endif // OPENSSL_VERSION_NUMBER < 0x10100000L
38
39
#endif
openssl_init
void openssl_init()
Definition:
OpenSSL_init.h:17
openssl_cleanup
void openssl_cleanup()
Definition:
OpenSSL_init.h:22
Generated by
1.8.13