diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_file.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bss_file.c b/src/lib/libcrypto/bio/bss_file.c index 52c0c39df0..0d44dc3889 100644 --- a/src/lib/libcrypto/bio/bss_file.c +++ b/src/lib/libcrypto/bio/bss_file.c | |||
@@ -91,6 +91,7 @@ static BIO_METHOD methods_filep= | |||
91 | file_ctrl, | 91 | file_ctrl, |
92 | file_new, | 92 | file_new, |
93 | file_free, | 93 | file_free, |
94 | NULL, | ||
94 | }; | 95 | }; |
95 | 96 | ||
96 | BIO *BIO_new_file(const char *filename, const char *mode) | 97 | BIO *BIO_new_file(const char *filename, const char *mode) |
@@ -171,7 +172,7 @@ static int MS_CALLBACK file_write(BIO *b, char *in, int inl) | |||
171 | if (fwrite(in,(int)inl,1,(FILE *)b->ptr)) | 172 | if (fwrite(in,(int)inl,1,(FILE *)b->ptr)) |
172 | ret=inl; | 173 | ret=inl; |
173 | /* ret=fwrite(in,1,(int)inl,(FILE *)b->ptr); */ | 174 | /* ret=fwrite(in,1,(int)inl,(FILE *)b->ptr); */ |
174 | /* acording to Tim Hudson <tjh@cryptsoft.com>, the commented | 175 | /* according to Tim Hudson <tjh@cryptsoft.com>, the commented |
175 | * out version above can cause 'inl' write calls under | 176 | * out version above can cause 'inl' write calls under |
176 | * some stupid stdio implementations (VMS) */ | 177 | * some stupid stdio implementations (VMS) */ |
177 | } | 178 | } |