Thanks a lot for the reply Mr Dave!
The info on wireshark was really helpful.
By flush I meant the buffer before being used in sprintf was clean.
On Mon, Apr 22, 2013 at 9:48 AM, Viktor Dukhovni wrote:
> On Sun, Apr 21, 2013 at 10:17:31PM -0400, Dave Thompson wrote:
>
> > >scanf("%s",password)
Hello I am writing a POP3 client in C on ubuntu. I am using OpenSSl I am
stuck in the AUTHORIZATION state! I send the user name and get a success
response, and when i send the password , it always says *-ERR bad command*.
I am sure the password is correct. Since i am using open ssl , wireshark
was