diff options
author | Job Snijders <job@cvs.openbsd.org> | 2023-06-20 02:46:19 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2023-06-20 02:46:19 +0000 |
commit | 4fc8f059b7df8d17a390b96a5bc9bc59567c36c5 (patch) | |
tree | 8aa9f706e60146483fc734a0c6e11fa71498fc49 /usr.sbin/rpki-client | |
parent | 5d7b8bc138138ed8f363fb110744e0f56e652e24 (diff) |
Fix diagnostic values emitted in warnx
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r-- | usr.sbin/rpki-client/cms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/cms.c b/usr.sbin/rpki-client/cms.c index 3fa59592602..1d31beb0928 100644 --- a/usr.sbin/rpki-client/cms.c +++ b/usr.sbin/rpki-client/cms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms.c,v 1.36 2023/06/17 04:46:11 job Exp $ */ +/* $OpenBSD: cms.c,v 1.37 2023/06/20 02:46:18 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -276,7 +276,7 @@ cms_parse_validate_internal(X509 **xp, const char *fn, const unsigned char *der, assert(octype != NULL); if (OBJ_cmp(obj, octype) != 0) { OBJ_obj2txt(buf, sizeof(buf), obj, 1); - OBJ_obj2txt(obuf, sizeof(obuf), oid, 1); + OBJ_obj2txt(obuf, sizeof(obuf), octype, 1); warnx("%s: RFC 6488: eContentType does not match Content-Type " "OID: %s, want %s", fn, buf, obuf); goto out; |