File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ static inline void HMAC_CTX_free(HMAC_CTX *ctx)
71
71
static inline int HMAC_CTX_reset (HMAC_CTX * ctx )
72
72
{
73
73
HMAC_CTX_cleanup (ctx );
74
- memzero (ctx , sizeof (HMAC_CTX ));
74
+ ntlm_memzero (ctx , sizeof (HMAC_CTX ));
75
75
return 1 ;
76
76
}
77
77
Original file line number Diff line number Diff line change @@ -134,10 +134,10 @@ int ntlm_client_set_hostname(
134
134
static void free_credentials (ntlm_client * ntlm )
135
135
{
136
136
if (ntlm -> password )
137
- memzero (ntlm -> password , strlen (ntlm -> password ));
137
+ ntlm_memzero (ntlm -> password , strlen (ntlm -> password ));
138
138
139
139
if (ntlm -> password_utf16 )
140
- memzero (ntlm -> password_utf16 , ntlm -> password_utf16_len );
140
+ ntlm_memzero (ntlm -> password_utf16 , ntlm -> password_utf16_len );
141
141
142
142
free (ntlm -> username );
143
143
free (ntlm -> username_upper );
Original file line number Diff line number Diff line change 12
12
#include "compat.h"
13
13
#include "util.h"
14
14
15
- void memzero (void * data , size_t size )
15
+ void ntlm_memzero (void * data , size_t size )
16
16
{
17
17
volatile uint8_t * scan = (volatile uint8_t * )data ;
18
18
Original file line number Diff line number Diff line change 9
9
#ifndef PRIVATE_UTIL_H__
10
10
#define PRIVATE_UTIL_H__
11
11
12
- extern void memzero (void * data , size_t size );
12
+ extern void ntlm_memzero (void * data , size_t size );
13
13
14
14
#endif /* PRIVATE_UTIL_H__ */
You can’t perform that action at this time.
0 commit comments