Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
1d34346c
Commit
1d34346c
authored
23 years ago
by
mcgreer%netscape.com
Browse files
Options
Downloads
Patches
Plain Diff
fix up the comment
btw, the last checkin was r=wtc,relyea
parent
c64ee802
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
security/nss/lib/softoken/pkcs11.c
+1
-1
1 addition, 1 deletion
security/nss/lib/softoken/pkcs11.c
security/nss/lib/softoken/pkcs11u.c
+2
-2
2 additions, 2 deletions
security/nss/lib/softoken/pkcs11u.c
with
3 additions
and
3 deletions
security/nss/lib/softoken/pkcs11.c
+
1
−
1
View file @
1d34346c
...
...
@@ -2114,7 +2114,7 @@ pk11_GetPrivKey(PK11Object *object,CK_KEY_TYPE key_type)
if
(
!
priv
&&
pubKey
.
data
[
0
]
==
0
)
{
/* Because of legacy code issues, sometimes the public key has
* a '0' prepended to it, forcing it to be unsigned. The database
*
does
not store that '0', so
catch that failure here
.
*
may
not store that '0', so
remove it and try again
.
*/
SECItem
tmpPubKey
;
tmpPubKey
.
data
=
pubKey
.
data
+
1
;
...
...
This diff is collapsed.
Click to expand it.
security/nss/lib/softoken/pkcs11u.c
+
2
−
2
View file @
1d34346c
...
...
@@ -752,8 +752,8 @@ pk11_DestroyObject(PK11Object *object)
if
(
rv
!=
SECSuccess
&&
pubKey
.
data
[
0
]
==
0
)
{
/* Because of legacy code issues, sometimes the public key
* has a '0' prepended to it, forcing it to be unsigned.
* The database
does
not store that '0', so
catch that
*
failure here
.
* The database
may
not store that '0', so
remove it and
*
try again
.
*/
SECItem
tmpPubKey
;
tmpPubKey
.
data
=
pubKey
.
data
+
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment