Skip to content

Draft: [13.5] Fix panic when PKCS7-encoded payload has no certificate

Stan Hu requested to merge sh-fix-pkcs7-panic-13-5 into 13-5-stable

pkcs7.Parse() can return a nil payload if no certs were decoded. We need to check that there are certificates before returning the first one.

Edited by Stan Hu

Merge request reports