From 844b0e603b9512be0c688eb4547adf4e59265222 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 29 Sep 2005 16:59:19 +0000 Subject: [PATCH] Fix missing applink call [from HEAD]. --- 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.40.0