Skip to content

Commit

Permalink
make hpke use dpp nlohmann
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Sep 25, 2024
1 parent 97eebb4 commit e33f95e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion mlspp/lib/hpke/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../lib/bytes/include")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../lib/hpke/include")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../lib/mls_vectors/include")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../lib/tls_syntax/include")

# For nlohmann/json.hpp
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../../include")
2 changes: 1 addition & 1 deletion mlspp/lib/hpke/src/signature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "dhkem.h"
#include "rsa.h"

#include "dpp/nlohmann/json.hpp"
#include <dpp/json.h>
#include <openssl/bio.h>
#include <openssl/bn.h>
#include <openssl/ec.h>
Expand Down
2 changes: 1 addition & 1 deletion mlspp/lib/hpke/src/userinfo_vc.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <hpke/base64.h>
#include <hpke/signature.h>
#include <hpke/userinfo_vc.h>
#include "dpp/nlohmann/json.hpp"
#include <dpp/json.h>
#include <tls/compat.h>

using nlohmann::json;
Expand Down

0 comments on commit e33f95e

Please sign in to comment.