summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bf_lbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bf_lbuf.c')
-rw-r--r--src/lib/libcrypto/bio/bf_lbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bf_lbuf.c b/src/lib/libcrypto/bio/bf_lbuf.c
index e90b7f239f..7978fdb347 100644
--- a/src/lib/libcrypto/bio/bf_lbuf.c
+++ b/src/lib/libcrypto/bio/bf_lbuf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bf_lbuf.c,v 1.12 2014/07/11 08:44:47 jsing Exp $ */ 1/* $OpenBSD: bf_lbuf.c,v 1.13 2015/07/19 18:29:31 miod 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 *
@@ -280,7 +280,7 @@ linebuffer_ctrl(BIO *b, int cmd, long num, void *ptr)
280 obs = (int)num; 280 obs = (int)num;
281 p = ctx->obuf; 281 p = ctx->obuf;
282 if ((obs > DEFAULT_LINEBUFFER_SIZE) && (obs != ctx->obuf_size)) { 282 if ((obs > DEFAULT_LINEBUFFER_SIZE) && (obs != ctx->obuf_size)) {
283 p = malloc((int)num); 283 p = malloc(num);
284 if (p == NULL) 284 if (p == NULL)
285 goto malloc_error; 285 goto malloc_error;
286 } 286 }