File tree 6 files changed +22
-1
lines changed
test/unittest/security/authentication
6 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 15
15
#ifndef _FASTDDS_TCP_ACCEPTOR_SECURE_
16
16
#define _FASTDDS_TCP_ACCEPTOR_SECURE_
17
17
18
+ #ifdef OPENSSL_API_COMPAT
19
+ #undef OPENSSL_API_COMPAT
20
+ #endif // ifdef OPENSSL_API_COMPAT
18
21
#define OPENSSL_API_COMPAT 10101
19
22
20
23
#include < asio/ssl.hpp>
Original file line number Diff line number Diff line change 15
15
#ifndef _FASTDDS_TCP_CHANNEL_RESOURCE_SECURE_
16
16
#define _FASTDDS_TCP_CHANNEL_RESOURCE_SECURE_
17
17
18
+ #ifdef OPENSSL_API_COMPAT
19
+ #undef OPENSSL_API_COMPAT
20
+ #endif // ifdef OPENSSL_API_COMPAT
18
21
#define OPENSSL_API_COMPAT 10101
19
22
20
23
#include < asio.hpp>
Original file line number Diff line number Diff line change 15
15
#ifndef _FASTDDS_TCP_TRANSPORT_INTERFACE_H_
16
16
#define _FASTDDS_TCP_TRANSPORT_INTERFACE_H_
17
17
18
+ #if TLS_FOUND
19
+ #ifdef OPENSSL_API_COMPAT
20
+ #undef OPENSSL_API_COMPAT
21
+ #endif // ifdef OPENSSL_API_COMPAT
22
+ #define OPENSSL_API_COMPAT 10101
23
+ #endif // if TLS_FOUND
24
+
18
25
#include < vector>
19
26
#include < map>
20
27
#include < memory>
35
42
#include < rtps/transport/TCPChannelResourceBasic.h>
36
43
37
44
#if TLS_FOUND
38
- #define OPENSSL_API_COMPAT 10101
39
45
#include < rtps/transport/TCPAcceptorSecure.h>
40
46
#include < asio/ssl.hpp>
41
47
#endif // if TLS_FOUND
Original file line number Diff line number Diff line change 18
18
19
19
// TODO This isn't a proper fix for compatibility with OpenSSL 3.0, but
20
20
// suppresses the warnings until true OpenSSL 3.0 APIs can be used.
21
+ #ifdef OPENSSL_API_COMPAT
22
+ #undef OPENSSL_API_COMPAT
23
+ #endif // ifdef OPENSSL_API_COMPAT
21
24
#define OPENSSL_API_COMPAT 10101
22
25
23
26
#include < security/artifact_providers/Pkcs11Provider.hpp>
Original file line number Diff line number Diff line change 18
18
19
19
// TODO This isn't a proper fix for compatibility with OpenSSL 3.0, but
20
20
// suppresses the warnings until true OpenSSL 3.0 APIs can be used.
21
+ #ifdef OPENSSL_API_COMPAT
22
+ #undef OPENSSL_API_COMPAT
23
+ #endif // ifdef OPENSSL_API_COMPAT
21
24
#define OPENSSL_API_COMPAT 10101
22
25
23
26
#include < security/authentication/PKIDH.h>
Original file line number Diff line number Diff line change 14
14
15
15
// TODO This isn't a proper fix for compatibility with OpenSSL 3.0, but
16
16
// suppresses the warnings until true OpenSSL 3.0 APIs can be used.
17
+ #ifdef OPENSSL_API_COMPAT
18
+ #undef OPENSSL_API_COMPAT
19
+ #endif // ifdef OPENSSL_API_COMPAT
17
20
#define OPENSSL_API_COMPAT 10101
18
21
19
22
#include < iostream>
You can’t perform that action at this time.
0 commit comments