diff options
| author | tb <> | 2022-05-24 20:06:32 +0000 |
|---|---|---|
| committer | tb <> | 2022-05-24 20:06:32 +0000 |
| commit | 435fb6426e62f7bb0b466ce6432633cd40849810 (patch) | |
| tree | 0d1e82f3ac5c409e56ea3af7d79ae59008869f05 /src/lib/libcrypto/o_time.c | |
| parent | ec1bdf8bd3305af29424a61ce4b3f36852f88a35 (diff) | |
| download | openbsd-435fb6426e62f7bb0b466ce6432633cd40849810.tar.gz openbsd-435fb6426e62f7bb0b466ce6432633cd40849810.tar.bz2 openbsd-435fb6426e62f7bb0b466ce6432633cd40849810.zip | |
Simplify ec_asn1_group2curve()
Don't try to reuse curve->seed to avoid an allocation. Free it
unconditionally and copy over the group->seed if it's available.
Use asn1_abs_set_unused_bits() instead of inlining it.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/o_time.c')
0 files changed, 0 insertions, 0 deletions
