| commit | b75a228af8c0553aef44e4e03763af90fbc8737f | [log] [tgz] |
|---|---|---|
| author | INADA Naoki <methane@users.noreply.github.com> | Mon Oct 02 16:33:42 2017 +0900 |
| committer | GitHub <noreply@github.com> | Mon Oct 02 16:33:42 2017 +0900 |
| tree | 557656c9ed12012c74c98c457b5a672df5fa4a52 | |
| parent | edc05c5d88c1ce853b3d04b34679ed7d69c2142a [diff] |
bpo-31659: Use simple slicing to format PEM cert (GH-3849) DER_cert_to_PEM_cert() used textwrap.fill() to format PEM. But it's library to wrap lines on word boundary, while PEM is base64 encoded string. Additionally, importing textwrap is little slow.