MatrixSSL 3.9.1

This commit is contained in:
Arto Niemi
2017-03-21 10:14:44 +02:00
parent 7c741e9005
commit e05dfbf650
96 changed files with 7526 additions and 5559 deletions

View File

@@ -41,8 +41,14 @@ struct psSocketTls
int nested_call;
int handshaked;
matrixSslInteract_t msi;
int32 (*ssl_socket_cert_auth)(ssl_t *ssl, psX509Cert_t *cert, int32 alert);
};
/* Set certificate callback for psSockets of TLS type. */
void setSocketTlsCertAuthCb(
psSocket_t *sock,
int32 (*ssl_cert_auth_cb)(ssl_t *ssl, psX509Cert_t *cert, int32 alert));
#endif /* USE_PS_NETWORKING */
#endif /* INCLUDE_GUARD_MATRIXSSLSOCKET_H */