BIO_free (bio);
+ /* See if there are any non-blank lines after the certificate that we read */
line.clear ();
- if (s.good ()) {
+ while (s.good() && line.empty()) {
getline (s, line);
}
- return !line.empty();
+ return (s.good() && !line.empty());
}
/** Destructor */