packages/net/nginx-util/src
Sean Khan e5f93c915c nginx-util: Rework ptr cleanup and error handling
As per @Ansuel's not about ctx cleanup in error path, decided to rework
the patch.

Changes and Improvements:

Smart Pointers for Memory Management:
* The `EVP_PKEY_ptr` and `X509_NAME_ptr` smart pointers
  are used to manage the memory of `EVP_PKEY` and `X509_NAME`
  objects respectively to ensure proper cleanup.

Error Handling:
* Improved error messages and exception handling to provide
  more information about what went wrong.

Resource Cleanup:
* Ensured all allocated resources are now properly freed
  in case of an error to prevent memory leaks.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-06-23 11:27:05 -07:00
..
.clang-format
.clang-tidy
CMakeLists.txt nginx-util: move to pcre2 2023-09-25 14:41:54 -07:00
LICENSE
nginx-ssl-util.hpp nginx-util: do not use fallthrough attribute 2021-05-24 21:27:25 +02:00
nginx-util.cpp
nginx-util.hpp
px5g-openssl.hpp nginx-util: Rework ptr cleanup and error handling 2024-06-23 11:27:05 -07:00
px5g.cpp
regex-pcre.hpp nginx-util: fix SEGFAULT from regex_search 2024-05-09 19:20:22 +02:00
test-nginx-util-root.sh
test-nginx-util.sh
test-px5g.sh
ubus-cxx.cpp
ubus-cxx.hpp nginx-util: fix compilation with GCC13 2023-07-11 08:38:13 -07:00
uci-cxx.cpp
uci-cxx.hpp