Skip to content

Commit

Permalink
* MDF [mqtt_tcp/SCRAM-AUTH] add arbitary comments
Browse files Browse the repository at this point in the history
Signed-off-by: jaylin <[email protected]>
  • Loading branch information
JaylinYu committed Jul 29, 2024
1 parent c69ab6d commit 32a148e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,9 @@ if (BUILD_DEMO)
add_subdirectory(demo/mqtt)
add_subdirectory(demo/mqttv5)
add_subdirectory(demo/mqtt_async)
add_subdirectory(demo/mqttv5_scram)

if (NNG_ENABLE_SCRAM)
add_subdirectory(demo/mqttv5_scram)
endif()
add_subdirectory(demo/rest)
add_subdirectory(demo/http_client)
add_subdirectory(demo/raw)
Expand Down
1 change: 1 addition & 0 deletions src/supplemental/nanolib/base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ static const unsigned char base64de[] = {
49, 50, 51, 255, 255, 255, 255, 255
};

// TODO replace it with nni_base64_decode
unsigned int
base64_encode(const unsigned char *in, unsigned int inlen, char *out)
{
Expand Down

0 comments on commit 32a148e

Please sign in to comment.