Skip to content

RFC: Additional SSL error reporting in verbose mode.#2

Merged
MarcT512 merged 1 commit intomasterfrom
SSL-errors
Jun 4, 2019
Merged

RFC: Additional SSL error reporting in verbose mode.#2
MarcT512 merged 1 commit intomasterfrom
SSL-errors

Conversation

@MarcT512
Copy link
Owner

@MarcT512 MarcT512 commented Jun 4, 2019

Add a function to convert SSL error codes to a string.
In addition, get the underlying error from OpenSSL and display it.

Before:
[...]
Accepted TLSv1.0 128 bits AES128-SHA
SSL_get_error(ssl, cipherStatus) said: 1

After:
[...]
Accepted TLSv1.0 128 bits AES128-SHA
SSL_get_error(ssl, cipherStatus) returned: 1 (SSL_ERROR_SSL)
[sslscan.c:testCipher@1584]:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Add a function to convert SSL error codes to a string.
In addition, get the underlying error from OpenSSL and display it.

Before:
[...]
Accepted  TLSv1.0  128 bits  AES128-SHA
SSL_get_error(ssl, cipherStatus) said: 1

After:
[...]
Accepted  TLSv1.0  128 bits  AES128-SHA
SSL_get_error(ssl, cipherStatus) returned: 1 (SSL_ERROR_SSL)
[sslscan.c:testCipher@1584]:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
@MarcT512 MarcT512 merged commit 836677c into master Jun 4, 2019
@MarcT512 MarcT512 deleted the SSL-errors branch June 4, 2019 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant