diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-17 19:47:45 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-17 23:20:56 +0200 |
commit | 3df42ca949a8cd98c956e2ff127ee2a5d8ee8fef (patch) | |
tree | 3baafcaa6956296226e9a8c746c12155e4afa995 /lib/sha256.c | |
parent | 2c598cc77822b27eef5ee6c2810ed6da49ff95bf (diff) |
dynbuf: return NULL when there's no buffer length
... as returning a "" is not a good idea as the string is supposed to be
allocated and returning a const string will cause issues.
Reported-by: Brian Carpenter
Follow-up to ed35d6590e72c
Closes #5405
Diffstat (limited to 'lib/sha256.c')
0 files changed, 0 insertions, 0 deletions