2019-08-02 16:09:47 +00:00
|
|
|
diff --git a/print-esp.c b/print-esp.c
|
2020-07-28 10:55:24 +00:00
|
|
|
index 6fabff1..cdeca9d 100644
|
2019-08-02 16:09:47 +00:00
|
|
|
--- a/print-esp.c
|
|
|
|
+++ b/print-esp.c
|
2020-07-28 10:55:24 +00:00
|
|
|
@@ -259,7 +259,7 @@ int esp_print_decrypt_buffer_by_ikev2(netdissect_options *ndo,
|
2019-08-02 16:09:47 +00:00
|
|
|
EVP_CIPHER_CTX_free(ctx);
|
2020-07-28 10:55:24 +00:00
|
|
|
(*ndo->ndo_error)(ndo, "can't allocate memory for decryption buffer");
|
2019-08-02 16:09:47 +00:00
|
|
|
}
|
2020-07-28 10:55:24 +00:00
|
|
|
- EVP_Cipher(ctx, output_buffer, input_buffer, len);
|
2019-08-02 16:09:47 +00:00
|
|
|
+ EVP_Cipher(ctx, output_buffer, input_buffer, buffer_size);
|
|
|
|
EVP_CIPHER_CTX_free(ctx);
|
|
|
|
|
|
|
|
/*
|