mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-01 20:20:35 -07:00
Code consuming the "crypto/tlscreds*.h" APIs doesn't need to access its internals. Move the structure definitions to the "tlscredspriv.h" private header (only accessible by implementations). The public headers (in include/) still forward-declare the structures typedef. Note, tlscreds.c and 3 of the 5 modified source files already include "tlscredspriv.h", so only add it to tls-cipher-suites.c and tlssession.c. Removing the internals from the public header solves a bug introduced by commit |
||
|---|---|---|
| .. | ||
| aes.h | ||
| afsplit.h | ||
| block.h | ||
| cipher.h | ||
| desrfb.h | ||
| hash.h | ||
| hmac.h | ||
| init.h | ||
| ivgen.h | ||
| pbkdf.h | ||
| random.h | ||
| secret.h | ||
| secret_common.h | ||
| secret_keyring.h | ||
| tls-cipher-suites.h | ||
| tlscreds.h | ||
| tlscredsanon.h | ||
| tlscredspsk.h | ||
| tlscredsx509.h | ||
| tlssession.h | ||
| xts.h | ||