From 3c2b73672e004f185756a890f393676a1e297bed Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 29 Sep 2005 16:56:21 +0000 Subject: [PATCH] Fix missing applink call. --- crypto/bio/bss_file.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.25.1