Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

src/node.cc: fix build error without OpenSSL support #25862

Closed
wants to merge 1 commit into from
Closed

src/node.cc: fix build error without OpenSSL support #25862

wants to merge 1 commit into from

Conversation

joerg-krause
Copy link

Resubmit PR #8761 since the forked repo was closed by myself. This fixes the issue reported upstream: #8676

Commit d601c76 introduced a bug which includes node_crypto.h twice. Once conditionally with HAVE_OPENSSL and once without it:

#if HAVE_OPENSSL
# include "node_crypto.h"
#endif
[...]
#include "node_crypto.h"

Fix this by removing the unconditional header include of node_crypto.h and add conditions for the OpenSSL related parts.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
@jasnell
Copy link
Member

jasnell commented Aug 29, 2015

LGTM

jasnell pushed a commit that referenced this pull request Aug 29, 2015
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

PR-URL: #25862
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
@jasnell
Copy link
Member

jasnell commented Aug 29, 2015

Landed in 16ca077

@jasnell jasnell closed this Aug 29, 2015
@joerg-krause joerg-krause deleted the fix-non-openssl-build branch August 30, 2015 11:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants