summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2021-07-02 11:15:08 +0000
committerschwarze <>2021-07-02 11:15:08 +0000
commitc33f63bcb3b575cf1e28e65f51259e81b9c463c6 (patch)
tree636e571ed14dc20d8cee4e00f556d074bac6af31 /src
parenta0ea1aafa52d730c92132c0f45bd5e7b34221c8e (diff)
downloadopenbsd-c33f63bcb3b575cf1e28e65f51259e81b9c463c6.tar.gz
openbsd-c33f63bcb3b575cf1e28e65f51259e81b9c463c6.tar.bz2
openbsd-c33f63bcb3b575cf1e28e65f51259e81b9c463c6.zip
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 'src')
-rw-r--r--src/lib/libcrypto/ts/ts_rsp_verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ts/ts_rsp_verify.c b/src/lib/libcrypto/ts/ts_rsp_verify.c
index c745a2c51f..46704dfd2b 100644
--- a/src/lib/libcrypto/ts/ts_rsp_verify.c
+++ b/src/lib/libcrypto/ts/ts_rsp_verify.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts_rsp_verify.c,v 1.20 2021/05/02 15:33:33 tb Exp $ */ 1/* $OpenBSD: ts_rsp_verify.c,v 1.21 2021/07/02 11:15:08 schwarze Exp $ */
2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
3 * project 2002. 3 * project 2002.
4 */ 4 */
@@ -720,7 +720,7 @@ TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer)
720 720
721 /* Check the subject name first. */ 721 /* Check the subject name first. */
722 if (tsa_name->type == GEN_DIRNAME && 722 if (tsa_name->type == GEN_DIRNAME &&
723 X509_name_cmp(tsa_name->d.dirn, signer->cert_info->subject) == 0) 723 X509_NAME_cmp(tsa_name->d.dirn, signer->cert_info->subject) == 0)
724 return 1; 724 return 1;
725 725
726 /* Check all the alternative names. */ 726 /* Check all the alternative names. */