From 77cfe177e11a35ddbc76849178c8697edfd6f92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 2 Jun 2015 11:18:35 +0100 Subject: [PATCH] Remove now-useless typedef in ssl.h --- include/mbedtls/ssl.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index b9654ba19..4fa5cb4fc 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -384,19 +384,6 @@ union mbedtls_ssl_premaster_secret extern "C" { #endif -/* - * Generic function pointers for allowing external RSA private key - * implementations. - */ -typedef int (*mbedtls_rsa_decrypt_func)( void *ctx, int mode, size_t *olen, - const unsigned char *input, unsigned char *output, - size_t output_max_len ); -typedef int (*mbedtls_rsa_sign_func)( void *ctx, - int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, - int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, - const unsigned char *hash, unsigned char *sig ); -typedef size_t (*mbedtls_rsa_key_len_func)( void *ctx ); - /* * SSL state machine */