- Notifications
You must be signed in to change notification settings - Fork5
Commitfa87870
committed
Refactor RandomSalt to handle salts of different lengths.
All we need is 4 bytes at the moment, for MD5 authentication. But inupcomint patches for SCRAM authentication, SCRAM will need a salt ofdifferent length. It's less scary for the caller to pass the bufferlength anyway, than assume a certain-sized output buffer.Author: Michael PaquierDiscussion: <CAB7nPqQvO4sxLFeS9D+NM3wpy08ieZdAj_6e117MQHZAfxBFsg@mail.gmail.com>1 parenta79a685 commitfa87870
1 file changed
+9
-11
lines changedLines changed: 9 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
404 | 404 |
| |
405 | 405 |
| |
406 | 406 |
| |
407 |
| - | |
| 407 | + | |
408 | 408 |
| |
409 | 409 |
| |
410 | 410 |
| |
| |||
2342 | 2342 |
| |
2343 | 2343 |
| |
2344 | 2344 |
| |
2345 |
| - | |
| 2345 | + | |
2346 | 2346 |
| |
2347 | 2347 |
| |
2348 | 2348 |
| |
| |||
5083 | 5083 |
| |
5084 | 5084 |
| |
5085 | 5085 |
| |
5086 |
| - | |
| 5086 | + | |
5087 | 5087 |
| |
5088 | 5088 |
| |
| 5089 | + | |
5089 | 5090 |
| |
5090 | 5091 |
| |
5091 | 5092 |
| |
5092 | 5093 |
| |
5093 | 5094 |
| |
5094 | 5095 |
| |
5095 |
| - | |
5096 |
| - | |
5097 |
| - | |
5098 |
| - | |
5099 |
| - | |
5100 |
| - | |
5101 |
| - | |
5102 |
| - | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
5103 | 5101 |
| |
5104 | 5102 |
| |
5105 | 5103 |
| |
|
0 commit comments
Comments
(0)