projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Further synchronisation with Unix
[oweals/openssl.git]
/
crypto
/
evp
/
bio_b64.c
diff --git
a/crypto/evp/bio_b64.c
b/crypto/evp/bio_b64.c
index 33349c2f9892a3df6229c5b3e01bf0f8954a19f1..fa5cbc7eb1ffc68fa212a102856e092c55b6512e 100644
(file)
--- a/
crypto/evp/bio_b64.c
+++ b/
crypto/evp/bio_b64.c
@@
-165,7
+165,7
@@
static int b64_read(BIO *b, char *out, int outl)
{
i=ctx->buf_len-ctx->buf_off;
if (i > outl) i=outl;
- OPENSSL_assert(ctx->buf_off+i <
sizeof ctx->buf
);
+ OPENSSL_assert(ctx->buf_off+i <
(int)sizeof(ctx->buf)
);
memcpy(out,&(ctx->buf[ctx->buf_off]),i);
ret=i;
out+=i;