diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-08-06 12:11:13 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2022-01-07 10:42:44 +0100 |
commit | 9944df112ffbe4b6855b6a9bf88720803277cc23 (patch) | |
tree | 7b4a15397f1015c166ef46047d1cade93e3a0068 /include | |
parent | 6e2499474cb96b28a51df1da25cc72f1cf342fad (diff) |
asn1/x_algor.c: add internal ossl_X509_ALGOR_from_nid() simplifying code
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17363)
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/asn1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/asn1.h b/include/crypto/asn1.h index ec76ae6fc6..ff02cac573 100644 --- a/include/crypto/asn1.h +++ b/include/crypto/asn1.h @@ -145,5 +145,6 @@ int ossl_asn1_time_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags); EVP_PKEY * ossl_d2i_PrivateKey_legacy(int keytype, EVP_PKEY **a, const unsigned char **pp, long length, OSSL_LIB_CTX *libctx, const char *propq); +X509_ALGOR *ossl_X509_ALGOR_from_nid(int nid, int ptype, void *pval); #endif /* ndef OSSL_CRYPTO_ASN1_H */ |