Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a049860

Browse filesBrowse files
exoegoBridgeAR
authored andcommitted
doc: fix return type for crypto.createDiffieHellmanGroup()
PR-URL: #29696 Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent a00cd17 commit a049860
Copy full SHA for a049860

File tree

Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ added: v0.9.3
18241824
-->
18251825

18261826
* `name` {string}
1827-
* Returns: {DiffieHellman}
1827+
* Returns: {DiffieHellmanGroup}
18281828

18291829
An alias for [`crypto.getDiffieHellman()`][]
18301830

@@ -2194,9 +2194,9 @@ added: v0.7.5
21942194
-->
21952195

21962196
* `groupName` {string}
2197-
* Returns: {DiffieHellman}
2197+
* Returns: {DiffieHellmanGroup}
21982198

2199-
Creates a predefined `DiffieHellman` key exchange object. The
2199+
Creates a predefined `DiffieHellmanGroup` key exchange object. The
22002200
supported groups are: `'modp1'`, `'modp2'`, `'modp5'` (defined in
22012201
[RFC 2412][], but see [Caveats][]) and `'modp14'`, `'modp15'`,
22022202
`'modp16'`, `'modp17'`, `'modp18'` (defined in [RFC 3526][]). The
Collapse file

‎tools/doc/type-parser.js‎

Copy file name to clipboardExpand all lines: tools/doc/type-parser.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const customTypesMap = {
5252
'Cipher': 'crypto.html#crypto_class_cipher',
5353
'Decipher': 'crypto.html#crypto_class_decipher',
5454
'DiffieHellman': 'crypto.html#crypto_class_diffiehellman',
55+
'DiffieHellmanGroup': 'crypto.html#crypto_class_diffiehellmangroup',
5556
'ECDH': 'crypto.html#crypto_class_ecdh',
5657
'Hash': 'crypto.html#crypto_class_hash',
5758
'Hmac': 'crypto.html#crypto_class_hmac',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.