Commit eb3faf8
committed
crypto._cert_fingerprint: pass bytes to load_pem_x509_certificate
crypto._cert_fingerprint must ensure first parameter
to load_pem_x509_certificate is bytes, as there are
code paths which pass this as a string, such as
crypto.from_keyspec -> crypto._load_keyspec ->
crypto.XMLSecCryptoFromXML.__init__ ->
crypto._cert_fingerprint1 parent 739191d commit eb3faf8
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
| |||
0 commit comments