Index: mozilla/security/nss/lib/cryptohi/sechash.h |
=================================================================== |
--- mozilla/security/nss/lib/cryptohi/sechash.h (revision 158129) |
+++ mozilla/security/nss/lib/cryptohi/sechash.h (working copy) |
@@ -1,10 +1,11 @@ |
-#ifndef _HASH_H_ |
-#define _HASH_H_ |
/* This Source Code Form is subject to the terms of the Mozilla Public |
* License, v. 2.0. If a copy of the MPL was not distributed with this |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
-/* $Id: sechash.h,v 1.9 2012/04/25 14:49:43 gerv%gerv.net Exp $ */ |
+/* $Id: sechash.h,v 1.11 2012/09/22 01:11:49 wtc%google.com Exp $ */ |
+#ifndef _HASH_H_ |
+#define _HASH_H_ |
+ |
#include "seccomon.h" |
#include "hasht.h" |
#include "secoidt.h" |
@@ -23,7 +24,7 @@ |
extern SECStatus HASH_HashBuf(HASH_HashType type, |
unsigned char *dest, |
- unsigned char *src, |
+ const unsigned char *src, |
PRUint32 src_len); |
extern HASHContext * HASH_Create(HASH_HashType type); |