| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/importer/nss_decryptor_system_nss.h" | 5 #include "chrome/utility/importer/nss_decryptor_system_nss.h" |
| 6 | 6 |
| 7 #include <pk11pub.h> | 7 #include <pk11pub.h> |
| 8 #include <pk11sdr.h> | 8 #include <pk11sdr.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 13 #include "base/strings/sys_string_conversions.h" | 13 #include "base/strings/sys_string_conversions.h" |
| 14 #include "crypto/nss_util.h" | 14 #include "crypto/nss_util.h" |
| 15 | 15 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 } | 263 } |
| 264 | 264 |
| 265 loser: | 265 loser: |
| 266 if (arena) PORT_FreeArena(arena, PR_TRUE); | 266 if (arena) PORT_FreeArena(arena, PR_TRUE); |
| 267 if (key) PK11_FreeSymKey(key); | 267 if (key) PK11_FreeSymKey(key); |
| 268 if (params) SECITEM_ZfreeItem(params, PR_TRUE); | 268 if (params) SECITEM_ZfreeItem(params, PR_TRUE); |
| 269 if (possibleResult.data) SECITEM_ZfreeItem(&possibleResult, PR_FALSE); | 269 if (possibleResult.data) SECITEM_ZfreeItem(&possibleResult, PR_FALSE); |
| 270 | 270 |
| 271 return rv; | 271 return rv; |
| 272 } | 272 } |
| OLD | NEW |