mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-10 15:40:30 +00:00
Un-rename ssl_set_own_cert_alt()
This commit is contained in:
parent
c6b6803dcf
commit
2fb15f694c
@ -944,11 +944,11 @@ int ssl_set_own_cert_rsa( ssl_context *ssl, x509_cert *own_cert,
|
|||||||
*
|
*
|
||||||
* \return 0 on success, or a specific error code.
|
* \return 0 on success, or a specific error code.
|
||||||
*/
|
*/
|
||||||
int ssl_set_own_cert_alt_rsa( ssl_context *ssl, x509_cert *own_cert,
|
int ssl_set_own_cert_alt( ssl_context *ssl, x509_cert *own_cert,
|
||||||
void *rsa_key,
|
void *rsa_key,
|
||||||
rsa_decrypt_func rsa_decrypt,
|
rsa_decrypt_func rsa_decrypt,
|
||||||
rsa_sign_func rsa_sign,
|
rsa_sign_func rsa_sign,
|
||||||
rsa_key_len_func rsa_key_len );
|
rsa_key_len_func rsa_key_len );
|
||||||
#endif /* POLARSSL_X509_PARSE_C */
|
#endif /* POLARSSL_X509_PARSE_C */
|
||||||
|
|
||||||
#if defined(POLARSSL_KEY_EXCHANGE_PSK_ENABLED)
|
#if defined(POLARSSL_KEY_EXCHANGE_PSK_ENABLED)
|
||||||
|
@ -3145,11 +3145,11 @@ int ssl_set_own_cert_rsa( ssl_context *ssl, x509_cert *own_cert,
|
|||||||
}
|
}
|
||||||
#endif /* POLARSSL_RSA_C */
|
#endif /* POLARSSL_RSA_C */
|
||||||
|
|
||||||
int ssl_set_own_cert_alt_rsa( ssl_context *ssl, x509_cert *own_cert,
|
int ssl_set_own_cert_alt( ssl_context *ssl, x509_cert *own_cert,
|
||||||
void *rsa_key,
|
void *rsa_key,
|
||||||
rsa_decrypt_func rsa_decrypt,
|
rsa_decrypt_func rsa_decrypt,
|
||||||
rsa_sign_func rsa_sign,
|
rsa_sign_func rsa_sign,
|
||||||
rsa_key_len_func rsa_key_len )
|
rsa_key_len_func rsa_key_len )
|
||||||
{
|
{
|
||||||
ssl->own_cert = own_cert;
|
ssl->own_cert = own_cert;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user