Welcome! Log In Create A New Profile

Advanced

[PATCH] SSL: include <openssl/hmac.h>

Alessandro Ghedini
October 11, 2017 07:00PM
# HG changeset patch
# User Alessandro Ghedini <alessandro@ghedini.me>
# Date 1507761830 25200
# Wed Oct 11 15:43:50 2017 -0700
# Node ID fe296bd63e074759392076a2bb6b36f77301227d
# Parent fe7d9e3987d40f16d86fd01d94ad16ff58467af2
SSL: include <openssl/hmac.h>

This header carries the definition of HMAC_Init_ex(). In OpenSSL this
header is included by <openssl/ssl.h>, but it's not so in BoringSSL.

It's probably a good idea to explicitly include this header anyway,
regardless of whether it's included by other headers or not.

diff -r fe7d9e3987d4 -r fe296bd63e07 src/event/ngx_event_openssl.h
--- a/src/event/ngx_event_openssl.h Wed Sep 28 14:54:44 2016 +0100
+++ b/src/event/ngx_event_openssl.h Wed Oct 11 15:43:50 2017 -0700
@@ -22,6 +22,7 @@
#include <openssl/engine.h>
#endif
#include <openssl/evp.h>
+#include <openssl/hmac.h>
#ifndef OPENSSL_NO_OCSP
#include <openssl/ocsp.h>
#endif
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] SSL: include <openssl/hmac.h>

Alessandro Ghedini 368 October 11, 2017 07:00PM

Re: [PATCH] SSL: include <openssl/hmac.h>

Maxim Dounin 188 October 12, 2017 11:14AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready