summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-07-07 01:02:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-07-07 01:02:48 +0000
commiteb71b9bc1018ad1c110369e685e32229f6712e7a (patch)
tree72f1ee1f1822a83082ab9b0be7bb1c5705d92085 /gnu
parentbbac8c40bbad3fd4191162b3784864c26ec0ad8a (diff)
swat size_t vs. int bug (benign)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.sbin/sendmail/sendmail/sfsasl.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/usr.sbin/sendmail/sendmail/sfsasl.c b/gnu/usr.sbin/sendmail/sendmail/sfsasl.c
index 96526d67447..214d5536cee 100644
--- a/gnu/usr.sbin/sendmail/sendmail/sfsasl.c
+++ b/gnu/usr.sbin/sendmail/sendmail/sfsasl.c
@@ -168,18 +168,19 @@ sfdcsasl(fin, fout, conn)
# include "sfsasl.h"
# include <openssl/err.h>
-static ssize_t
# if SFIO
+static ssize_t
tls_read(f, buf, size, disc)
Sfio_t *f;
Void_t *buf;
size_t size;
Sfdisc_t *disc;
# else /* SFIO */
+static int
tls_read(disc, buf, size)
void *disc;
- void *buf;
- size_t size;
+ char *buf;
+ int size;
# endif /* SFIO */
{
int r;
@@ -226,18 +227,19 @@ tls_read(disc, buf, size)
return r;
}
-static ssize_t
# if SFIO
+static ssize_t
tls_write(f, buf, size, disc)
Sfio_t *f;
const Void_t *buf;
size_t size;
Sfdisc_t *disc;
# else /* SFIO */
+static int
tls_write(disc, buf, size)
void *disc;
- const void *buf;
- size_t size;
+ const char *buf;
+ int size;
# endif /* SFIO */
{
int r;