packages/net/nginx-util
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
..
files nginx-util: bump uci conf template version 2023-06-11 04:36:12 +02:00
src nginx-util: Rework ptr cleanup and error handling 2024-06-23 11:27:05 -07:00
Makefile nginx-util: fix deprecated openssl 3.0 functions 2024-06-23 11:27:05 -07:00