Commit da64fef
committed
b64_decode_cacerts: accept non-wrapped input
Ensure base64 decoding accepts data of any line length. RFC 8951
(an update to RFC 7030) clarifies that senders are not required to
insert white space (such as LF) in base64-encoded payloads.
Therefore libest must handle lines of any length.
Set the BIO_FLAGS_BASE64_NO_NL flag to activate this behaviour.
See BIO_F_BASE64(3ossl) for more details.
Signed-off-by: Fraser Tweedale <frase@frase.id.au>1 parent f8a6e5b commit da64fef
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
387 | 398 | | |
388 | 399 | | |
389 | 400 | | |
| |||
0 commit comments