Commit 3757850c authored by 神楽坂玲奈's avatar 神楽坂玲奈

new

parent 7a6dc5f2
Pipeline #16666 failed with stages
in 17 seconds
......@@ -3,12 +3,12 @@
#include "Config.h"
#include <boost/core/noncopyable.hpp>
#include <b64/decode.h>
#include <netdb.h>
#include <linux/if.h>
#include <linux/if_tun.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <boost/beast/core/detail/base64.hpp>
class Router : private boost::noncopyable {
public:
......@@ -34,8 +34,7 @@ public:
};
static void create_secret(const std::string &secret, unsigned char *target) {
base64::decoder decoder;
decoder.decode(secret.c_str(), secret.length(), (char *) target);
boost::beast::detail::base64::decode(target, secret.c_str(), secret.length());
}
void create_remote_addr() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment