Re: NSS: Unable to verify close_notify in client code?

2017-12-19 Thread Martin Thomson
See SSL_AlertReceivedCallback(). On 20 Dec. 2017 6:22 am, "Johann 'Myrkraverk' Oskarsson" wrote: > Hi, > > Is it really impossible to verify if the server sent close_notify in a > normal NSS client application? > > In both cases, PR_Read() returns zero with no error messages or status > differen

NSS: Unable to verify close_notify in client code?

2017-12-19 Thread Johann 'Myrkraverk' Oskarsson
Hi, Is it really impossible to verify if the server sent close_notify in a normal NSS client application? In both cases, PR_Read() returns zero with no error messages or status difference of any kind. I have tentatively verified that ssl3_HandleAlert() is called with AlertDescription zero == cl