http://bugzilla.novell.com/show_bug.cgi?id=529495
User rommel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=529495#c8
Heiko Rommel changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |REOPENED
Info Provider|rommel@novell.com |
--- Comment #8 from Heiko Rommel 2009-09-15 03:30:57 MDT ---
This is my testcase (based on Jan Engelhardt's):
#define _GNU_SOURCE 1
#include
#include
#include
int main(void)
{
struct crypt_data cd = {};
char *p;
p = crypt_r("secretpassword", "$2a$abcdefghijklmnopqrstuv", &cd);
printf("%s\n", p);
return 0;
}
The output is '*0* no matter if I use glibc-2.9-13.2 or glibc-2.9-13.3.1.
The same is true if I use a short salt of 16 characters (I didn't know BF needs
a long salt, man crypt_r does not say a word about it).
Maybe something is wrong with the test case ?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.