[openssl-dev] [openssl.org #4137] [PATCH]

Flávio Medeiros via RT rt at openssl.org
Thu Nov 12 09:37:35 UTC 2015


Hello OpenSSL contributors,

A few week ago I submitted a patch to remove from the source code
preprocessor conditional directives that split up parts of statements (#465
<https://github.com/openssl/openssl/pull/465>). Some developers asked me
and suggested some changes.

I'm submitting a new pull request (#468
<https://github.com/openssl/openssl/pull/468>) with the goal of removing
all conditional directives of the following pattern:

*#ifdef A*
*if* (condition_1)
*#else*
*if* (condition_2)
*#endif*
{
// code
}

I have used a tool that searches for this pattern and I have refactored
them manually. We are able to detect other patterns of conditional
directives that split up parts of statements to refactor manually (if it
contributes to OpenSSL).

Let me know if there are other patterns that are important to refactor in
order to improve code understanding and so on.

I'm willing to contribute.

Best regards,
Flávio Medeiros

-------------- next part --------------
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod


More information about the openssl-dev mailing list