add support for a password callback

In order to be able to load password-protected key files a password
callback was added.

This also adds support for PKCS#12 containers instead of certificate+key.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2022-02-03 09:11:49 +01:00
parent 06afe3d1c2
commit bddb80a192
12 changed files with 410 additions and 57 deletions

View File

@@ -114,7 +114,9 @@ EXTRA_DIST = \
jni/Application.mk \
src/tls_schannel.c \
tests/cert.pem \
tests/cert.pfx \
tests/key.pem \
tests/key_encrypted.pem \
tests/res_query_dump.c
## Examples