Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: net/base/keygen_handler_nss.cc

Issue 2874002: Change the Windows CertDatabase behaviour to match Mac and NSS behaviour, whe... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/keygen_handler_mac.cc ('k') | net/base/keygen_handler_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/base/keygen_handler.h" 5 #include "net/base/keygen_handler.h"
6 6
7 #include "net/third_party/mozilla_security_manager/nsKeygenHandler.h" 7 #include "net/third_party/mozilla_security_manager/nsKeygenHandler.h"
8 8
9 // PSM = Mozilla's Personal Security Manager. 9 // PSM = Mozilla's Personal Security Manager.
10 namespace psm = mozilla_security_manager; 10 namespace psm = mozilla_security_manager;
11 11
12 namespace net { 12 namespace net {
13 13
14 bool KeygenHandler::KeyLocation::Equals(
15 const net::KeygenHandler::KeyLocation& location) const {
16 return slot_name == location.slot_name;
17 }
18
19 std::string KeygenHandler::GenKeyAndSignChallenge() { 14 std::string KeygenHandler::GenKeyAndSignChallenge() {
20 return psm::GenKeyAndSignChallenge(key_size_in_bits_, challenge_, 15 return psm::GenKeyAndSignChallenge(key_size_in_bits_, challenge_,
21 stores_key_); 16 stores_key_);
22 } 17 }
23 18
24 } // namespace net 19 } // namespace net
OLDNEW
« no previous file with comments | « net/base/keygen_handler_mac.cc ('k') | net/base/keygen_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698