You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#35833719 Consume PEM and SSL errors after failed function call
To prevent errors from failed OpenSSL library function piling up always
consume error directly after failing function call.
The piled up old errors caused confusion when checking the errors for
later function calls.
An example was errors like:
NDB TLS SSL_read: error:0480006C:PEM routines::no start line
When SSL_read was called all certificate handling have already completed
and there should be no reasone for PEM function errors. But this was due
to old errors reported, errors that should have been consumed earlier
during certificate handling.
In Certificate::read there certificates are read in a loop from a file
an explicit check that "no start line" error aborted the loop and not
some other error.
Change-Id: Icfabe1f06d362489551e6ec7b8d42a829f65878c
0 commit comments