Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
cryptsetup
hashalot-ctrl-d.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hashalot-ctrl-d.diff of Package cryptsetup
exit unsucessfully on empty passphrase Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> Index: hashalot-0.3/hashalot.c =================================================================== --- hashalot-0.3/hashalot.c.orig +++ hashalot-0.3/hashalot.c @@ -275,6 +275,10 @@ main(int argc, char *argv[]) /* here we acquire the precious passphrase... */ pass = xgetpass("Enter passphrase: "); + if(!*pass) { + exit(EXIT_FAILURE); + } + if (salt) pass = salt_passphrase(pass, salt); hashlen = func(passhash, hashlen, pass, strlen(pass));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor