From: Arran Cudbard-Bell Date: Wed, 28 Feb 2018 02:06:55 +0000 (+0600) Subject: Minor build fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080d554f5105a5531e19579b0591c50561f2291d;p=thirdparty%2Ffreeradius-server.git Minor build fixes --- diff --git a/src/modules/rlm_cipher/rlm_cipher.c b/src/modules/rlm_cipher/rlm_cipher.c index 80a9f3376b4..a32b69908b9 100644 --- a/src/modules/rlm_cipher/rlm_cipher.c +++ b/src/modules/rlm_cipher/rlm_cipher.c @@ -408,7 +408,7 @@ static int cipher_rsa_padding_params_set(REQUEST *request, EVP_PKEY_CTX *evp_pke * Configure OAEP advanced padding options */ case RSA_PKCS1_OAEP_PADDING: -#if OPENSSL_VERSION_NUMBER >= 0x10001000L +#if OPENSSL_VERSION_NUMBER >= 0x10002000L if (unlikely(EVP_PKEY_CTX_set_rsa_oaep_md(evp_pkey_ctx, rsa_inst->oaep->oaep_digest) <= 0)) { tls_log_error(request, "Failed setting OAEP digest"); return -1; @@ -441,7 +441,7 @@ static int cipher_rsa_padding_params_set(REQUEST *request, EVP_PKEY_CTX *evp_pke /** Encrypt input data * - * Arguments are (...). + * Arguments are @verbatim(<plaintext>...)@endverbatim * * If multiple arguments are provided they will be concatenated. */ @@ -705,7 +705,8 @@ static xlat_action_t cipher_rsa_decrypt_xlat(TALLOC_CTX *ctx, UNUSED fr_cursor_t * * Arguments are @verbatim(<signature>, <plaintext>...)@endverbatim * - * If multiple arguments are provided (after <signature>) they will be concatenated. + * If multiple arguments are provided (after @verbatim<signature>@endverbatim) + * they will be concatenated. */ static xlat_action_t cipher_rsa_verify_xlat(UNUSED TALLOC_CTX *ctx, UNUSED fr_cursor_t *out, REQUEST *request, void const *xlat_inst, void *xlat_thread_inst,