From bbc738c490bcd691151c28f971e0e153777fb255 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 14 Jul 2014 17:32:57 +0200 Subject: Static Code Analysis : Add various NULL pointers checks --- src/Common/Crypto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Common/Crypto.h') diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h index dd35eeca..4f47ec04 100644 --- a/src/Common/Crypto.h +++ b/src/Common/Crypto.h @@ -269,7 +269,7 @@ int CipherGetBlockSize (int cipher); int CipherGetKeySize (int cipher); int CipherGetKeyScheduleSize (int cipher); BOOL CipherSupportsIntraDataUnitParallelization (int cipher); -char * CipherGetName (int cipher); +const char * CipherGetName (int cipher); int CipherInit (int cipher, unsigned char *key, unsigned char *ks); int EAInit (int ea, unsigned char *key, unsigned char *ks); @@ -302,7 +302,7 @@ int EAGetPreviousCipher (int ea, int previousCipherId); int EAIsFormatEnabled (int ea); BOOL EAIsModeSupported (int ea, int testedMode); -char *HashGetName (int hash_algo_id); +const char *HashGetName (int hash_algo_id); BOOL HashIsDeprecated (int hashId); int GetMaxPkcs5OutSize (void); -- cgit v1.2.3