From 2fb15f694c90e95341709a5d3dc8bbf17117c5ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 22 Aug 2013 17:54:20 +0200 Subject: [PATCH] Un-rename ssl_set_own_cert_alt() --- include/polarssl/ssl.h | 10 +++++----- library/ssl_tls.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index e83fbbf00..16643b285 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h @@ -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. */ -int ssl_set_own_cert_alt_rsa( ssl_context *ssl, x509_cert *own_cert, - void *rsa_key, - rsa_decrypt_func rsa_decrypt, - rsa_sign_func rsa_sign, - rsa_key_len_func rsa_key_len ); +int ssl_set_own_cert_alt( ssl_context *ssl, x509_cert *own_cert, + void *rsa_key, + rsa_decrypt_func rsa_decrypt, + rsa_sign_func rsa_sign, + rsa_key_len_func rsa_key_len ); #endif /* POLARSSL_X509_PARSE_C */ #if defined(POLARSSL_KEY_EXCHANGE_PSK_ENABLED) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 87a135ab7..00f79f4f2 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -3145,11 +3145,11 @@ int ssl_set_own_cert_rsa( ssl_context *ssl, x509_cert *own_cert, } #endif /* POLARSSL_RSA_C */ -int ssl_set_own_cert_alt_rsa( ssl_context *ssl, x509_cert *own_cert, - void *rsa_key, - rsa_decrypt_func rsa_decrypt, - rsa_sign_func rsa_sign, - rsa_key_len_func rsa_key_len ) +int ssl_set_own_cert_alt( ssl_context *ssl, x509_cert *own_cert, + void *rsa_key, + rsa_decrypt_func rsa_decrypt, + rsa_sign_func rsa_sign, + rsa_key_len_func rsa_key_len ) { ssl->own_cert = own_cert;