summaryrefslogtreecommitdiff
path: root/providers/implementations/macs/hmac_prov.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/macs/hmac_prov.c')
-rw-r--r--providers/implementations/macs/hmac_prov.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/providers/implementations/macs/hmac_prov.c b/providers/implementations/macs/hmac_prov.c
index f18299315f..c3d9f15f81 100644
--- a/providers/implementations/macs/hmac_prov.c
+++ b/providers/implementations/macs/hmac_prov.c
@@ -21,6 +21,8 @@
#include <openssl/evp.h>
#include <openssl/hmac.h>
+#include "internal/ssl3_cbc.h"
+
#include "prov/implementations.h"
#include "prov/provider_ctx.h"
#include "prov/provider_util.h"
@@ -59,17 +61,6 @@ struct hmac_data_st {
size_t tls_mac_out_size;
};
-/* Defined in ssl/record/methods/ssl3_cbc.c */
-int ssl3_cbc_digest_record(const EVP_MD *md,
- unsigned char *md_out,
- size_t *md_out_size,
- const unsigned char header[13],
- const unsigned char *data,
- size_t data_size,
- size_t data_plus_mac_plus_padding_size,
- const unsigned char *mac_secret,
- size_t mac_secret_length, char is_sslv3);
-
static void *hmac_new(void *provctx)
{
struct hmac_data_st *macctx;