diff options
author | Andy Polyakov <appro@openssl.org> | 2005-09-29 16:56:21 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-09-29 16:56:21 +0000 |
commit | 3c2b73672e004f185756a890f393676a1e297bed (patch) | |
tree | 2c87a32a1f7e614551d17aaa3d7f22c6dd85042c /crypto/bio | |
parent | 23acb0eeb2ec89cb3d673dd0fb04838d83b13a1a (diff) |
Fix missing applink call.
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bss_file.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c index ccc741556e..ed6ee6cabb 100644 --- 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); |