This patch fixes failure to call applink code to perform a setmode()
operation due to a
typo in the UP_fsetmod reference required to make the call.
diff -ur openssl-0.9.8k/crypto/bio/bss_file.c
openssl-0.9.8k-working/crypto/bio/bss_file.c
--- openssl-0.9.8k/crypto/bio/bss_file.c Tue Dec 30 08:30:55 2008
+++ openssl-0.9.8k-working/crypto/bio/bss_file.c Tue Jul 7 16:15:04
2009
@@ -272,9 +272,9 @@
BIO_clear_flags(b,BIO_FLAGS_UPLINK);
#endif
#endif
-#ifdef UP_fsetmode
+#ifdef UP_fsetmod
if (b->flags&BIO_FLAGS_UPLINK)
- UP_fsetmode(b->ptr,num&BIO_FP_TEXT?'t':'b');
+ UP_fsetmod(b->ptr,num&BIO_FP_TEXT?'t':'b');
else
#endif
{