openssl/include
J.W. Jagersma 651255941c djgpp: Use usleep() for ossl_sleep()
This part failed to compile due to a circular dependency between
internal/e_os.h and internal/time.h, when ossl_sleep() falls back to a
busy wait.  However, djgpp has a usleep function, so it can use the
regular Unix version of ossl_sleep().

It's not great though.  The resolution is only ~55ms, and it may break
when a user program hooks the timer interrupt without periodically
updating BIOS time.  A high-resolution alternative is uclock(), but
that is generally less desirable since it reprograms the system timer.

The circular dependency is still there and may still cause trouble for
other platforms.

CLA: trivial

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19274)
2022-09-29 12:00:30 +02:00
..
crypto Allow PKCS12 export to set arbitrary bag attributes 2022-09-23 17:40:02 +01:00
internal djgpp: Use usleep() for ossl_sleep() 2022-09-29 12:00:30 +02:00
openssl Allow PKCS12 export to set arbitrary bag attributes 2022-09-23 17:40:02 +01:00