diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-01-04 08:48:24 +0100 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-06-08 07:47:18 +0200 |
commit | 62d2386bf8a8712e2b433e55f694ff898e4aded7 (patch) | |
tree | aac06eda295357b608763362f4a4a814e42da629 | |
parent | 69e0f8cca691dc474300422c48e14713ace8dd2c (diff) | |
download | openssl-new-62d2386bf8a8712e2b433e55f694ff898e4aded7.tar.gz |
x509_trs.c: rename to x509_trust.c and correct comment in trust_compat()
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13735)
-rw-r--r-- | crypto/x509/build.info | 2 | ||||
-rw-r--r-- | crypto/x509/x509_trust.c (renamed from crypto/x509/x509_trs.c) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/build.info b/crypto/x509/build.info index 05c8e3003b..8820f983bb 100644 --- a/crypto/x509/build.info +++ b/crypto/x509/build.info @@ -5,7 +5,7 @@ SOURCE[../../libcrypto]=\ x509_set.c x509cset.c x509rset.c x509_err.c \ x509name.c x509_v3.c x509_ext.c x509_att.c \ x509_meth.c x509_lu.c x_all.c x509_txt.c \ - x509_trs.c by_file.c by_dir.c by_store.c x509_vpm.c \ + x509_trust.c by_file.c by_dir.c by_store.c x509_vpm.c \ x_crl.c t_crl.c x_req.c t_req.c x_x509.c t_x509.c \ x_pubkey.c x_x509a.c x_attrib.c x_exten.c x_name.c \ v3_bcons.c v3_bitst.c v3_conf.c v3_extku.c v3_ia5.c v3_utf8.c v3_lib.c \ diff --git a/crypto/x509/x509_trs.c b/crypto/x509/x509_trust.c index bbde32af70..ff578aee73 100644 --- a/crypto/x509/x509_trs.c +++ b/crypto/x509/x509_trust.c @@ -239,7 +239,7 @@ static int trust_1oid(X509_TRUST *trust, X509 *x, int flags) static int trust_compat(X509_TRUST *trust, X509 *x, int flags) { - /* Call for side-effect of computing hash and caching extensions */ + /* Call for side-effect of setting EXFLAG_SS for self-signed-certs */ if (X509_check_purpose(x, -1, 0) != 1) return X509_TRUST_UNTRUSTED; if ((flags & X509_TRUST_NO_SS_COMPAT) == 0 && (x->ex_flags & EXFLAG_SS)) |