Submitted by: Mark Phalan <Mark.Phalan@Sun.COM> Reviewed by: steve@openssl.org Fix misuse of st_mode field in struct stat.