summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_file.c
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2010-04-01 12:25:40 +0000
committersimon <simon@FreeBSD.org>2010-04-01 12:25:40 +0000
commitd92ad4708f8e42fced6b82ddee1930a3e4f6e342 (patch)
treeea91d9b180fa36b1886b046a286630c089f57475 /crypto/bio/bss_file.c
parentcdb6eef1f013e22a10ab5f5829dcdc3b5e32d385 (diff)
downloadFreeBSD-src-d92ad4708f8e42fced6b82ddee1930a3e4f6e342.zip
FreeBSD-src-d92ad4708f8e42fced6b82ddee1930a3e4f6e342.tar.gz
Import OpenSSL 0.9.8n.
Diffstat (limited to 'crypto/bio/bss_file.c')
-rw-r--r--crypto/bio/bss_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c
index 62c1073..47fa266 100644
--- a/crypto/bio/bss_file.c
+++ b/crypto/bio/bss_file.c
@@ -272,9 +272,9 @@ static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr)
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,(char)((num&BIO_FP_TEXT)?'t':'b'));
else
#endif
{
OpenPOWER on IntegriCloud