Skip to content

Commit

Permalink
Suppress OpenSSL 3.0 warnings (#2502)
Browse files Browse the repository at this point in the history
This is a temporary fix until the code can be refactored to
use real OpenSSL 3.0 APIs.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
  • Loading branch information
clalancette authored Feb 16, 2022
1 parent 5cd6cc5 commit 8834128
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cpp/security/authentication/PKIDH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
* @file PKIDH.cpp
*/

// TODO This isn't a proper fix for compatibility with OpenSSL 3.0, but
// suppresses the warnings until true OpenSSL 3.0 APIs can be used.
#define OPENSSL_API_COMPAT 10101

#include <security/authentication/PKIDH.h>
#include <security/authentication/PKIIdentityHandle.h>
#include <fastdds/rtps/security/logging/Logging.h>
Expand Down

0 comments on commit 8834128

Please sign in to comment.