[reSIProcate] [resiprocate/resiprocate] Improve logging (log errno names instead of values) (#44)

Udit Raikwar notifications at github.com
Wed Jun 1 09:04:01 CDT 2016


https://project.freertc.org/issues/25
Inorder to solve this bug, I have created one header file "Errdes.hpp" which contains the error messages associated with the error number/code from the following functions : 
-> SSL_ERROR_SYSCALL   [http://www.cl.cam.ac.uk/cgi-bin/manpage?3+errno] 
-> SSL_get_error [https://www.openssl.org/docs/manmaster/ssl/SSL_get_error.html]
-> X509_verify_cert_error_string(verifyErrorCode) [https://www.openssl.org/docs/manmaster/crypto/X509_STORE_CTX_get_error.html]

Also I have updated TlsConnection.cxx file for calling the function from Errdes.hpp file to print error description/messages instead of error number/code .
At present this header file only contains error messages that are called from TlsConnection.cxx file.
You can view, comment on, or merge this pull request online at:

  https://github.com/resiprocate/resiprocate/pull/44

-- Commit Summary --

  * Update TlsConnection.cxx
  * Update TlsConnection.cxx
  * Header file containing error description
  * Update TlsConnection.cxx
  * Merge pull request #3 from udit043/udit043-patch-3
  * Merge pull request #2 from udit043/udit043-patch-2
  * Update errdes.hpp
  * Rename errdes.hpp to Errdes.hpp

-- File Changes --

    A resip/stack/ssl/Errdes.hpp (259)
    M resip/stack/ssl/TlsConnection.cxx (31)

-- Patch Links --

https://github.com/resiprocate/resiprocate/pull/44.patch
https://github.com/resiprocate/resiprocate/pull/44.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/resiprocate/resiprocate/pull/44
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160601/f5506fcc/attachment.htm>


More information about the resiprocate-devel mailing list