Range Check error with POP3 and SSL

Giganews Newsgroups
Subject: Range Check error with POP3 and SSL
Posted by:  Chris Stone (csto…@hms.com)
Date: Mon, 30 Jan 2006

I have POP3S (SSL for POP3) working ok with Indy 10.0.52 - if everything is
ok that is. If I put in a bad username or password, without SSL an exception
is raised noting the bad username or password. However, with SSL enabled, I
get a range check error which delphi 6 points to as is line 1133 of

      FReadLnTimedOut := ReadFromSource(True, ATimeout, ATimeout =
IdTimeoutDefault) = -1;

Again though, with a valid username and password entered, the SSL connection
works fine. Just trying to put in code to catch user errors like with the
username and password and display a reasonable error - but now I just get
range check error exception instead.

Any ideas? Known bug in Indy 10 in the SSL support?