diff options
| author | tb <> | 2024-04-11 06:42:09 +0000 |
|---|---|---|
| committer | tb <> | 2024-04-11 06:42:09 +0000 |
| commit | c7dbc1d09fc1acd9ea6960a0e507b18e921248be (patch) | |
| tree | b5641598728f2610405c41856804fb1d3302998b /src/regress/lib/libc/malloc/malloc_threaderr/malloc_threaderr.c | |
| parent | 30137553e5880795d09be4a50f12f0c075287faf (diff) | |
| download | openbsd-c7dbc1d09fc1acd9ea6960a0e507b18e921248be.tar.gz openbsd-c7dbc1d09fc1acd9ea6960a0e507b18e921248be.tar.bz2 openbsd-c7dbc1d09fc1acd9ea6960a0e507b18e921248be.zip | |
Rework internal tm_to_*() converters
Make them static. Don't make them allocate if passed a NULL ASN1_TIME to
avoid leaks. This currently means that we accept a NULL and succeed. That's
very ugly but better than what we have now.
Simplify ASN1_TIME_set_string_internal() accordingly and allocate an
ASN1_TIME at the API boundary of ASN1_TIME_adj_internal() and of
ASN1_TIME_to_generalized_time().
ok beck (after a lot of squealing and distress)
Diffstat (limited to 'src/regress/lib/libc/malloc/malloc_threaderr/malloc_threaderr.c')
0 files changed, 0 insertions, 0 deletions
