aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2021-12-02 18:44:22 +1100
committerNicholas Tay <nick@windblume.net>2021-12-02 18:44:22 +1100
commitd6ab9640056af4dbf9a27f18a9291426b20b7eb9 (patch)
treea55790bec807289672700d2a8c252441ab253556 /config.h
parent53346266b603caa37a2d516d13697867e04767d6 (diff)
downloadpassgen-d6ab9640056af4dbf9a27f18a9291426b20b7eb9.tar.gz
passgen-d6ab9640056af4dbf9a27f18a9291426b20b7eb9.tar.bz2
passgen-d6ab9640056af4dbf9a27f18a9291426b20b7eb9.zip
Dynamically allocate password instead of using VLA
This allows the code to compile with `cl` (MS Windows). Additionally allows massive passwords to be made more easily I suppose, as we aren't allocating (potentially dangerously) on the stack anymore. But, generation may be slightly slower due to allocation of memory. We could possibly have some statically allocated memory (e.g. 20 bytes) and if we go over then malloc().
Diffstat (limited to 'config.h')
0 files changed, 0 insertions, 0 deletions