GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — crypto: add getCurves() to get supported ECs by mscdex · Pull Request #1914 · nodejs/node

Conversation

@mscdex

@mscdex mscdex commented Jun 7, 2015

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mscdex mscdex added the crypto Issues and PRs related to the crypto subsystem. label Jun 7, 2015
@mscdex mscdex mentioned this pull request Jun 7, 2015
doc: add note about available ECC curves #1913
Closed
@silverwind silverwind added the semver-minor PRs that contain new features and should be released in the next minor version. label Jun 7, 2015
@silverwind

silverwind commented Jun 7, 2015

Copy link
Copy Markdown
Contributor

👍 nice feature, will be pretty useful. Looking good from my side, though I can't review the C++ part.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex

mscdex commented Jun 7, 2015

Copy link
Copy Markdown
Contributor Author

/cc @nodejs/crypto

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@silverwind

silverwind commented Jun 7, 2015

Copy link
Copy Markdown
Contributor

https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/777/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex

mscdex commented Jun 8, 2015

Copy link
Copy Markdown
Contributor Author

Looks like one of the Windows CI boxes has too little memory?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brendanashworth
brendanashworth reviewed Jun 8, 2015
View reviewed changes
Comment thread src/node_crypto.cc Outdated

@brendanashworth brendanashworth Jun 8, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Won't this just fail silently if you run out of memory in the malloc call? Perhaps something like this would be simpler.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@mscdex mscdex Jun 8, 2015

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Fixed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mscdex
mscdex force-pushed the crypto-get-curves branch from 13c11b6 to 0bc4a2f Compare June 8, 2015 03:11
@silverwind

silverwind commented Jun 8, 2015

Copy link
Copy Markdown
Contributor

Next try after #1383 (comment):

https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/779/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis
bnoordhuis reviewed Jun 8, 2015
View reviewed changes
Comment thread src/node_crypto.cc Outdated

@bnoordhuis bnoordhuis Jun 8, 2015

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Style: four spaces indent for line continuations and can you use sizeof(*curves)?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mscdex
mscdex force-pushed the crypto-get-curves branch from 0bc4a2f to eb1fd08 Compare June 8, 2015 15:00
@mscdex

mscdex commented Jun 8, 2015

Copy link
Copy Markdown
Contributor Author

Commit updated as per suggestions.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis
bnoordhuis reviewed Jun 8, 2015
View reviewed changes
Comment thread src/node_crypto.cc Outdated

@bnoordhuis bnoordhuis Jun 8, 2015

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Micro-nit: just static_cast is sufficient here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bnoordhuis

bnoordhuis commented Jun 8, 2015

Copy link
Copy Markdown
Member

LGTM with nits.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex
crypto: add getCurves() to get supported ECs
1c59845
@mscdex
mscdex force-pushed the crypto-get-curves branch from eb1fd08 to 1c59845 Compare June 8, 2015 16:26
mscdex added a commit that referenced this pull request Jun 8, 2015
@mscdex
crypto: add getCurves() to get supported ECs
38d1afc
PR-URL: #1914
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@mscdex

mscdex commented Jun 8, 2015

Copy link
Copy Markdown
Contributor Author

Landed in 38d1afc.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex mscdex closed this Jun 8, 2015
@mscdex
mscdex deleted the crypto-get-curves branch June 8, 2015 16:38
@silverwind

silverwind commented Jun 8, 2015

Copy link
Copy Markdown
Contributor

May as well update the doc change in deb8b87 again to point to this method.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@silverwind silverwind mentioned this pull request Jun 8, 2015
doc: add references to crypto.getCurves() #1918
Closed
@rvagg rvagg mentioned this pull request Jun 11, 2015
Release proposal: 2.3.0 #1939
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

crypto Issues and PRs related to the crypto subsystem. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@mscdex @silverwind @bnoordhuis @brendanashworth
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.