Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
nrpe
> nrpe-2.15_ADH.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nrpe-2.15_ADH.patch of Package nrpe
--- src/check_nrpe.c.orig 2019-10-14 13:53:38.006178348 +0200 +++ src/check_nrpe.c 2019-10-14 13:58:27.177952881 +0200 @@ -165,7 +165,11 @@ /* do SSL handshake */ if(result==STATE_OK && use_ssl==TRUE){ if((ssl=SSL_new(ctx))!=NULL){ +#if OPENSSL_VERSION_NUMBER >= 0x10100000 + SSL_CTX_set_cipher_list(ctx,"ADH@SECLEVEL=0"); +#else SSL_CTX_set_cipher_list(ctx,"ADH"); +#endif SSL_set_fd(ssl,sd); if((rc=SSL_connect(ssl))!=1){ printf("CHECK_NRPE: Error - Could not complete SSL handshake.\n"); --- src/nrpe.c.orig 2019-10-14 13:53:33.194180011 +0200 +++ src/nrpe.c 2019-10-14 13:57:33.778179881 +0200 @@ -265,7 +265,11 @@ SSL_CTX_set_options(ctx,SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); /* use anonymous DH ciphers */ +#if OPENSSL_VERSION_NUMBER >= 0x10100000 + SSL_CTX_set_cipher_list(ctx,"ADH@SECLEVEL=0"); +#else SSL_CTX_set_cipher_list(ctx,"ADH"); +#endif dh=get_dh512(); SSL_CTX_set_tmp_dh(ctx,dh); DH_free(dh);