Adapt ASN1_item_sign_ctx() for use with provided keypairs
authorRichard Levitte <levitte@openssl.org>
Tue, 21 Jan 2020 13:56:13 +0000 (14:56 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 28 Jan 2020 07:06:01 +0000 (08:06 +0100)
commitd5aef5946bd9b113623ad778114768585a1f7a02
treebb1f15cfe984ca49f9c036c733ada028a8760da8
parent2ee4a50ab92020dc49383d5aa644397edac4a59a
Adapt ASN1_item_sign_ctx() for use with provided keypairs

The mechanism to do this is to ask the signature operation for the DER
encoded AlgorithmIdentifier that corresponds to the combination of
signature algorithm and digest algorithm.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10920)
crypto/asn1/a_sign.c
include/openssl/core_names.h