diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bf_buff.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bf_buff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bf_buff.c b/src/lib/libcrypto/bio/bf_buff.c index 5b18edf508..4aa5d39293 100644 --- a/src/lib/libcrypto/bio/bf_buff.c +++ b/src/lib/libcrypto/bio/bf_buff.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bf_buff.c,v 1.18 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bf_buff.c,v 1.19 2014/07/10 11:25:13 tedu Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -345,7 +345,7 @@ buffer_ctrl(BIO *b, int cmd, long num, void *ptr) | |||
| 345 | } | 345 | } |
| 346 | ctx->ibuf_off = 0; | 346 | ctx->ibuf_off = 0; |
| 347 | ctx->ibuf_len = (int)num; | 347 | ctx->ibuf_len = (int)num; |
| 348 | memcpy(ctx->ibuf, ptr, (int)num); | 348 | memcpy(ctx->ibuf, ptr, num); |
| 349 | ret = 1; | 349 | ret = 1; |
| 350 | break; | 350 | break; |
| 351 | case BIO_C_SET_BUFF_SIZE: | 351 | case BIO_C_SET_BUFF_SIZE: |
