Loading src/socket.h +0 −3 Original line number Diff line number Diff line Loading @@ -337,9 +337,6 @@ namespace netplus { void prime_read(); #endif // ✅ Static helper to load RSA key from DER bytes into rsa object static bool loadRsaFromDer(const std::vector<uint8_t>& derData, netplus::rsa& out_rsa); bool hasPendingWrite() const override { // Return true if there's queued data not yet sent // Check _send_queue (queued but not flushed) Loading test/https_test.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -122,8 +122,8 @@ int main() { netplus::ssl::CertificateBundle bundle2; bundle2.cert = cert2; bundle2.privateKeyDer = std::vector<uint8_t>(test2_key_der.begin(), test2_key_der.end()); // Pre-load RSA key into bundle if (!netplus::ssl::loadRsaFromDer(bundle2.privateKeyDer, bundle2.rsa_key)) { // Pre-load RSA key into bundle using the rsa::loadRsaFromDerFile static function if (!netplus::rsa::loadRsaFromDerFile(bundle2.privateKeyDer, bundle2.rsa_key)) { std::cerr << "Failed to load RSA key 2!" << std::endl; std::cerr.flush(); return 1; Loading Loading
src/socket.h +0 −3 Original line number Diff line number Diff line Loading @@ -337,9 +337,6 @@ namespace netplus { void prime_read(); #endif // ✅ Static helper to load RSA key from DER bytes into rsa object static bool loadRsaFromDer(const std::vector<uint8_t>& derData, netplus::rsa& out_rsa); bool hasPendingWrite() const override { // Return true if there's queued data not yet sent // Check _send_queue (queued but not flushed) Loading
test/https_test.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -122,8 +122,8 @@ int main() { netplus::ssl::CertificateBundle bundle2; bundle2.cert = cert2; bundle2.privateKeyDer = std::vector<uint8_t>(test2_key_der.begin(), test2_key_der.end()); // Pre-load RSA key into bundle if (!netplus::ssl::loadRsaFromDer(bundle2.privateKeyDer, bundle2.rsa_key)) { // Pre-load RSA key into bundle using the rsa::loadRsaFromDerFile static function if (!netplus::rsa::loadRsaFromDerFile(bundle2.privateKeyDer, bundle2.rsa_key)) { std::cerr << "Failed to load RSA key 2!" << std::endl; std::cerr.flush(); return 1; Loading