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

src/node.cc: fix OpenSSL build error #8761

Closed
wants to merge 1 commit into from
Closed

src/node.cc: fix OpenSSL build error #8761

wants to merge 1 commit into from

Conversation

joerg-krause
Copy link

Since version 0.10.33 (commit d601c76) building nodejs without OpenSSL is broken. This issue is already reported upstream: #8676.

This issue is fixed by this patch.

Signed-off-by: Jörg Krause jkrause@posteo.de

Signed-off-by: Jörg Krause <jkrause@posteo.de>
@@ -2579,12 +2580,14 @@ static void ParseArgs(int argc, char **argv) {
p = 1 + strchr(arg, '=');
max_stack_size = atoi(p);
argv[i] = const_cast<char*>("");
#if HAVE_OPENSSL
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

advice: the command option should be indifferent imo, perhaps should we clue someone to the "ssl2/3 not supported"?

@jasnell
Copy link
Member

jasnell commented Aug 13, 2015

@misterdjules @shigeki ... any thoughts on this one?

@whitlockjc
Copy link

My tests show this PR fixes the issue is fixed. Here was my process:

  • git checkout pr/8761
  • make distclean
  • ./configure --without-ssl
  • make

This process passed without any issue where as prior to this PR it would fail. Of course, the test suite is not aware that you compiled without SSL so there are a number of failing tests but based on visual examination, all were as expected: node.js not compiled with openssl crypto support.

@jasnell
Copy link
Member

jasnell commented Aug 14, 2015

Ok, then closing this issue. Can reopen if it proves necessary. Thank you @whitlockjc for the test!

@jasnell jasnell closed this Aug 14, 2015
@whitlockjc
Copy link

No, this PR fixes the issue. Sorry that wasn't clear.

@jasnell
Copy link
Member

jasnell commented Aug 15, 2015

Ha! Ok my apologies

@jasnell
Copy link
Member

jasnell commented Aug 15, 2015

Hmm... It won't let me reopen...

@jasnell
Copy link
Member

jasnell commented Aug 15, 2015

Ah... can't reopen because the original source repo for this was deleted... hmmm.... @whitlockjc, are you having issues with this on v0.10.40? or v0.12.7?

@whitlockjc
Copy link

I was able to reproduce with v0.10. I can resubmit a PR if the source repository is gone.

@jasnell
Copy link
Member

jasnell commented Aug 15, 2015

Yeah looks like we'll need it submitted again.
On Aug 14, 2015 6:04 PM, "Jeremy Whitlock" notifications@github.com wrote:

I was able to reproduce with v0.10. I can resubmit a PR if the source
repository is gone.


Reply to this email directly or view it on GitHub
#8761 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants