Loading src/ssl.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -3835,8 +3835,13 @@ static bool isOidEcPublicKey(const uint8_t* oid, size_t len) { } bool netplus::ssl::loadServerPrivateKeyDer(const std::string& keyDerPath) { std::cerr << "[SSL] *** loadServerPrivateKeyDer CALLED ***" << std::endl; std::cerr << "[SSL] keyDerPath=" << keyDerPath << std::endl; std::cerr.flush(); try { std::vector<uint8_t> der = readFileBytesDer(keyDerPath); std::cerr << "[SSL] Read " << der.size() << " bytes from key file" << std::endl; std::cerr.flush(); netplus::ASN1Node root; size_t used = _cert->parseInternal(der.data(), der.size(), root); // reuse parser Loading Loading
src/ssl.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -3835,8 +3835,13 @@ static bool isOidEcPublicKey(const uint8_t* oid, size_t len) { } bool netplus::ssl::loadServerPrivateKeyDer(const std::string& keyDerPath) { std::cerr << "[SSL] *** loadServerPrivateKeyDer CALLED ***" << std::endl; std::cerr << "[SSL] keyDerPath=" << keyDerPath << std::endl; std::cerr.flush(); try { std::vector<uint8_t> der = readFileBytesDer(keyDerPath); std::cerr << "[SSL] Read " << der.size() << " bytes from key file" << std::endl; std::cerr.flush(); netplus::ASN1Node root; size_t used = _cert->parseInternal(der.data(), der.size(), root); // reuse parser Loading