openssl/openssl

Strange code styl in crypto/s390xcap.c after reformatting in WebKit style

Open

#31,247 建立於 2026年5月20日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)C (30,157 star) (11,262 fork)batch import
help wantedtriaged: cleanuptriaged: refactor

描述

The entire code block below the comment /* query function tokens */ (lines 521-534) looks strange: https://github.com/openssl/openssl/blob/71943544885ff364a10bcc5ffc62d0e651c9a021/crypto/s390xcap.c#L520

Not only the long chain of if .. elseif ... in single lines look strange, but especially the block at line 532 seems to be misaligned IMHO: https://github.com/openssl/openssl/blob/71943544885ff364a10bcc5ffc62d0e651c9a021/crypto/s390xcap.c#L532

Is this as intended as-is, or is there a way to make this better readable?

貢獻者指南