gcontini
2021-05-19 a35f39cd77284c7570c166c9e552798fb7b855fb
src/library/locate/EnvironmentVarData.cpp
@@ -16,7 +16,7 @@
#include "../base/base64.h"
#include "../base/EventRegistry.h"
#include "../base/StringUtils.h"
#include "../base/string_utils.h"
namespace license {
namespace locate {
@@ -48,7 +48,6 @@
const std::string EnvironmentVarData::retrieve_license_content(const std::string &licenseLocation) const {
   string env_val = getenv(LCC_LICENSE_LOCATION_ENV_VAR);
   if (isBase64) {
      int flen = 0;
      vector<uint8_t> data = unbase64(env_val);
      string str = string(reinterpret_cast<char *>(data.data()));
      return str;