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

Unified Diff: mozilla/security/nss/lib/cryptohi/secsign.c

Issue 606034: NSS: update to 3.12.6 RC0 (Closed)
Patch Set: Created 10 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: mozilla/security/nss/lib/cryptohi/secsign.c
diff --git a/mozilla/security/nss/lib/cryptohi/secsign.c b/mozilla/security/nss/lib/cryptohi/secsign.c
index 48d68c1fc12b43daec61cd320c77c92516b63bea..38220ffbf31a28592f35012c4c19a77aa930b6fc 100644
--- a/mozilla/security/nss/lib/cryptohi/secsign.c
+++ b/mozilla/security/nss/lib/cryptohi/secsign.c
@@ -37,7 +37,7 @@
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
-/* $Id: secsign.c,v 1.21 2009/09/23 22:51:56 wtc%google.com Exp $ */
+/* $Id: secsign.c,v 1.22 2010/02/10 00:49:43 wtc%google.com Exp $ */
#include <stdio.h>
#include "cryptohi.h"
@@ -277,7 +277,7 @@ SGN_End(SGNContext *cx, SECItem *result)
** signature. Returns zero on success, an error code on failure.
*/
SECStatus
-SEC_SignData(SECItem *res, unsigned char *buf, int len,
+SEC_SignData(SECItem *res, const unsigned char *buf, int len,
SECKEYPrivateKey *pk, SECOidTag algid)
{
SECStatus rv;

Powered by Google App Engine
This is Rietveld 408576698