Add more fixes for WebAssembly/WASI build
authorMarcin Kolny <marcin.kolny@gmail.com>
Fri, 7 Jul 2023 10:11:10 +0000 (11:11 +0100)
committerPauli <pauli@openssl.org>
Wed, 12 Jul 2023 00:50:09 +0000 (10:50 +1000)
commit66f61ece724a54253da36f70274bc320faf9f4e2
tree5ae3a01df884d628211c1864f5246e7d2776de58
parent0a3733babbbb4e297ccfbc3ece29e95cafca5f2d
Add more fixes for WebAssembly/WASI build

* force use timegm - WASI does not have timezone tables
* use basic implementation for `OPENSSL_issetugid()` - WASI doesn't support forking processes

CLA: trivial

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21389)
crypto/asn1/a_time.c
crypto/uid.c