summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2021-07-02 11:15:09 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2021-07-02 11:15:09 +0000
commit4e49f95f54020e181c730dd5dc687f905d1ad23d (patch)
tree1e61097fe488f897e4059465b6686a65e38c3c0d /lib
parent3f92ff61e9dd1fb94fbc1cb5985ae44e1f473a8c (diff)
call the API function X509_NAME_cmp(3) instead of the obsolete,
undocumented macro alias X509_name_cmp(3); no change to the assembler code generated by the compiler; OK tb@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/ts/ts_rsp_verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ts/ts_rsp_verify.c b/lib/libcrypto/ts/ts_rsp_verify.c
index c745a2c51f0..46704dfd2be 100644
--- a/lib/libcrypto/ts/ts_rsp_verify.c
+++ b/lib/libcrypto/ts/ts_rsp_verify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts_rsp_verify.c,v 1.20 2021/05/02 15:33:33 tb Exp $ */
+/* $OpenBSD: ts_rsp_verify.c,v 1.21 2021/07/02 11:15:08 schwarze Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
@@ -720,7 +720,7 @@ TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer)
/* Check the subject name first. */
if (tsa_name->type == GEN_DIRNAME &&
- X509_name_cmp(tsa_name->d.dirn, signer->cert_info->subject) == 0)
+ X509_NAME_cmp(tsa_name->d.dirn, signer->cert_info->subject) == 0)
return 1;
/* Check all the alternative names. */