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:
23acb0e
)
Fix missing applink call.
author
Andy Polyakov
<appro@openssl.org>
Thu, 29 Sep 2005 16:56:21 +0000
(16:56 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 29 Sep 2005 16:56:21 +0000
(16:56 +0000)
crypto/bio/bss_file.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_file.c
b/crypto/bio/bss_file.c
index ccc741556ea54aa59151ad1c3094872f5b8abee4..ed6ee6cabba0b0e253897a5dbae75fa0eac7eb82 100644
(file)
--- a/
crypto/bio/bss_file.c
+++ b/
crypto/bio/bss_file.c
@@
-396,7
+396,10
@@
static int MS_CALLBACK file_gets(BIO *bp, char *buf, int size)
int ret=0;
buf[0]='\0';
- fgets(buf,size,(FILE *)bp->ptr);
+ if (b->flags&BIO_FLAGS_UPLINK)
+ UP_fgets(buf,size,bp->ptr);
+ else
+ fgets(buf,size,(FILE *)bp->ptr);
if (buf[0] != '\0')
ret=strlen(buf);
return(ret);