diff options
author | tcocagne <devnull@localhost> | 2012-10-29 22:58:47 -0500 |
---|---|---|
committer | tcocagne <devnull@localhost> | 2012-10-29 22:58:47 -0500 |
commit | 407a3c80b6c1a24a8bf9e6f2df8b0cceefe2347b (patch) | |
tree | 6e2ba21bbc5f111c5f97c052bf99b694b2472f20 /srp/_srp.c | |
parent | 69ae351b02e6c0176095ad81744d09226964c8b0 (diff) |
Fixed data structure initialiation bug reported by kaliuga
Diffstat (limited to 'srp/_srp.c')
-rw-r--r-- | srp/_srp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -712,6 +712,8 @@ struct SRPUser * srp_user_new( SRP_HashAlgorithm alg, SRP_NGType ng_type, const memcpy((char *)usr->username, username, ulen); memcpy((char *)usr->password, bytes_password, len_password); + + usr->authenticated = 0; usr->bytes_A = 0; |