projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21419a7
)
Bugfix (set shutdown only when we should).
author
Bodo Möller
<bodo@openssl.org>
Sat, 15 May 1999 12:22:19 +0000
(12:22 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Sat, 15 May 1999 12:22:19 +0000
(12:22 +0000)
Submitted by: Oleg Girko
crypto/bio/bss_file.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_file.c
b/crypto/bio/bss_file.c
index 323286b09fcd2fba808745edd9b1cec369f617b3..232e63669c4e04dee1583b5ec4754a3aaacc8f73 100644
(file)
--- a/
crypto/bio/bss_file.c
+++ b/
crypto/bio/bss_file.c
@@
-200,7
+200,7
@@
static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, char *ptr)
break;
case BIO_C_SET_FILE_PTR:
file_free(b);
- b->shutdown=(int)num;
+ b->shutdown=(int)num
&BIO_CLOSE
;
b->ptr=(char *)ptr;
b->init=1;
#if defined(MSDOS) || defined(WINDOWS)