Appears having NULL parameter in the AlgorithmIdentifier is expected.

It appears that OpenSSL expects a NULL algorithm in the hash used for
signing.