-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: show exponent in decimal and hex
The exponent value was already in hex, but missing the 0x prefix which could be confusing. PR-URL: #2320 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
- Loading branch information
1 parent
ad7f744
commit 847459c
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ server.listen(common.PORT, function() { | |
common.debug(util.inspect(peerCert)); | ||
assert.equal(peerCert.subject.emailAddress, '[email protected]'); | ||
assert.equal(peerCert.serialNumber, '9A84ABCFB8A72AC0'); | ||
assert.equal(peerCert.exponent, '0x10001'); | ||
assert.deepEqual(peerCert.infoAccess['OCSP - URI'], | ||
[ 'http://ocsp.nodejs.org/' ]); | ||
|
||
|