Fix from HEAD.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 28 Apr 2005 00:22:00 +0000 (00:22 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 28 Apr 2005 00:22:00 +0000 (00:22 +0000)
crypto/evp/bio_enc.c

index ab8185150344057706acd29fefd0185e050793ec..b8cda1a9f07238a2b79653acd237f521c579173a 100644 (file)
@@ -71,7 +71,7 @@ static int enc_new(BIO *h);
 static int enc_free(BIO *data);
 static long enc_callback_ctrl(BIO *h, int cmd, bio_info_cb *fps);
 #define ENC_BLOCK_SIZE (1024*4)
-#define BUF_OFFSET     EVP_MAX_BLOCK_LENGTH
+#define BUF_OFFSET     (EVP_MAX_BLOCK_LENGTH*2)
 
 typedef struct enc_struct
        {