diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-02-17 14:29:39 +0300 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-02-18 18:50:12 +0300 |
commit | c1be4d617cf9435e8326ebba643aa4d7cbcb3645 (patch) | |
tree | 19c7fb4fbca59427990d69b3fc3a14610bb9658d /crypto/x509/x509_cmp.c | |
parent | daf1300b80443b6bf0dec19085056ec407925d89 (diff) |
Rename internal X509_add_cert_new() to ossl_x509_add_cert_new()
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14039)
Diffstat (limited to 'crypto/x509/x509_cmp.c')
-rw-r--r-- | crypto/x509/x509_cmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509_cmp.c b/crypto/x509/x509_cmp.c index 9cf02be0cb..c29fe3cc5f 100644 --- a/crypto/x509/x509_cmp.c +++ b/crypto/x509/x509_cmp.c @@ -175,7 +175,7 @@ int X509_cmp(const X509 *a, const X509 *b) return rv < 0 ? -1 : rv > 0; } -int X509_add_cert_new(STACK_OF(X509) **p_sk, X509 *cert, int flags) +int ossl_x509_add_cert_new(STACK_OF(X509) **p_sk, X509 *cert, int flags) { if (*p_sk == NULL && (*p_sk = sk_X509_new_null()) == NULL) { @@ -236,7 +236,7 @@ int ossl_x509_add_certs_new(STACK_OF(X509) **p_sk, STACK_OF(X509) *certs, int j = (flags & X509_ADD_FLAG_PREPEND) == 0 ? i : n - 1 - i; /* if prepend, add certs in reverse order to keep original order */ - if (!X509_add_cert_new(p_sk, sk_X509_value(certs, j), flags)) + if (!ossl_x509_add_cert_new(p_sk, sk_X509_value(certs, j), flags)) return 0; } return 1; |