~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/bio/bss_file.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060515160058-pg6lnbkkpkwpdj2e
Tags: upstream-0.9.8b
ImportĀ upstreamĀ versionĀ 0.9.8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
                return(NULL);
129
129
                }
130
130
        if ((ret=BIO_new(BIO_s_file_internal())) == NULL)
 
131
                {
 
132
                fclose(file);
131
133
                return(NULL);
 
134
                }
132
135
 
133
136
        BIO_clear_flags(ret,BIO_FLAGS_UPLINK); /* we did fopen -> we disengage UPLINK */
134
137
        BIO_set_fp(ret,file,BIO_CLOSE);