summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-24 17:36:16 +0100
committerAnthony G. Basile <blueness@gentoo.org>2017-01-24 18:38:19 -0500
commit90497465c48be2c685751f7c43351405b8cf1c30 (patch)
tree5b462148153bea3b4f5266456d1fe603c44ba2a7 /net-libs
parentdev-libs/botan: add subslot operator to openssl/libressl dependencies (diff)
downloadgentoo-90497465c48be2c685751f7c43351405b8cf1c30.tar.gz
gentoo-90497465c48be2c685751f7c43351405b8cf1c30.tar.bz2
gentoo-90497465c48be2c685751f7c43351405b8cf1c30.zip
net-libs/polarssl: remove unused patch
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/polarssl/files/polarssl-1.3.8-ssl_pthread_server.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/net-libs/polarssl/files/polarssl-1.3.8-ssl_pthread_server.patch b/net-libs/polarssl/files/polarssl-1.3.8-ssl_pthread_server.patch
deleted file mode 100644
index 0c6ca92773e0..000000000000
--- a/net-libs/polarssl/files/polarssl-1.3.8-ssl_pthread_server.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/programs/ssl/ssl_pthread_server.c b/programs/ssl/ssl_pthread_server.c
-index cc6ad89..019e4e8 100644
---- a/programs/ssl/ssl_pthread_server.c
-+++ b/programs/ssl/ssl_pthread_server.c
-@@ -129,6 +129,10 @@ static void *handle_ssl_connection( void *data )
- ssl_context ssl;
- ctr_drbg_context ctr_drbg;
-
-+ /* Make sure memory references are valid */
-+ memset( &ssl, 0, sizeof( ssl_context ) );
-+ memset( &ctr_drbg, 0, sizeof( ctr_drbg_context ) );
-+
- snprintf( pers, sizeof(pers), "SSL Pthread Thread %d", thread_id );
- printf( " [ #%d ] Client FD %d\n", thread_id, client_fd );
- printf( " [ #%d ] Seeding the random number generator...\n", thread_id );
-@@ -176,7 +180,7 @@ static void *handle_ssl_connection( void *data )
- if( ( ret = ssl_set_own_cert( &ssl, thread_info->server_cert, thread_info->server_key ) ) != 0 )
- {
- printf( " failed\n ! ssl_set_own_cert returned %d\n\n", ret );
-- goto exit;
-+ goto thread_exit;
- }
-
- printf( " [ #%d ] ok\n", thread_id );
-@@ -308,6 +312,7 @@ thread_exit:
- #endif
-
- net_close( client_fd );
-+ ctr_drbg_free( &ctr_drbg );
- ssl_free( &ssl );
-
- thread_info->thread_complete = 1;
-@@ -492,7 +497,6 @@ exit:
- #if defined(POLARSSL_SSL_CACHE_C)
- ssl_cache_free( &cache );
- #endif
-- ctr_drbg_free( &ctr_drbg );
- entropy_free( &entropy );
-
- polarssl_mutex_free( &debug_mutex );