Latest update - 7395
This commit is contained in:
@@ -1059,7 +1059,7 @@ cleanup:
|
||||
ngx_close_file_n " \"%s\" failed", file->data);
|
||||
}
|
||||
|
||||
ngx_memzero(buf, NGX_SSL_PASSWORD_BUFFER_SIZE);
|
||||
ngx_explicit_memzero(buf, NGX_SSL_PASSWORD_BUFFER_SIZE);
|
||||
|
||||
return passwords;
|
||||
}
|
||||
@@ -1076,7 +1076,7 @@ ngx_ssl_passwords_cleanup(void *data)
|
||||
pwd = passwords->elts;
|
||||
|
||||
for (i = 0; i < passwords->nelts; i++) {
|
||||
ngx_memzero(pwd[i].data, pwd[i].len);
|
||||
ngx_explicit_memzero(pwd[i].data, pwd[i].len);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user