Nirave,

Nirave Kadakia wrote:
> 
> However, during the first encrypted write, I get the following error:
> Error in function PR_Write: -12272
>   - SSL peer reports incorrect Message Authentication Code.
> 
> Does any one know the cause of this?

- Are you using the correct SSL options (eg. set as client, TLS protocol
enabled, ciphers set) ? If you bypass the import step and connect to an
SSL server directly, do you get the error ?

- Did you do SSL_ResetHandshake on your socket after the import ? If
not, you must do that in order for SSL to work after importing a non-SSL
socket to SSL.

-- 
"Except for the lack of debugging and the ps thing, [Linux] kernel
threads are generally fine right now. And if you're not too fussed
about the more fiddly details of POSIX threads, and your application
doesn't spend most of its time in thread creation, then LinuxThreads
is great too."

  Linux-Kernel archive

Reply via email to