From efabb6695ae3b2fb3a743efd200d7748bd9e37b8 Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 29 Mar 2021 04:00:38 +0000 Subject: [PATCH] Remove accidental but justified annotation --- usr.sbin/rpki-client/x509.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/usr.sbin/rpki-client/x509.c b/usr.sbin/rpki-client/x509.c index 0457c55dd68..10fb1c6f135 100644 --- a/usr.sbin/rpki-client/x509.c +++ b/usr.sbin/rpki-client/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.17 2021/03/29 03:45:35 deraadt Exp $ */ +/* $OpenBSD: x509.c,v 1.18 2021/03/29 04:00:38 tb Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -85,7 +85,6 @@ x509_get_aki(X509 *x, int ta, const char *fn) if ((res = calloc(dsz * 3 + 1, 1)) == NULL) err(1, NULL); -// XXX hate this for (i = 0; i < dsz; i++) { snprintf(buf, sizeof(buf), "%02X:", d[i]); strlcat(res, buf, dsz * 3 + 1); @@ -136,7 +135,6 @@ x509_get_ski(X509 *x, const char *fn) if ((res = calloc(dsz * 3 + 1, 1)) == NULL) err(1, NULL); -// XXX hate this for (i = 0; i < dsz; i++) { snprintf(buf, sizeof(buf), "%02X:", d[i]); strlcat(res, buf, dsz * 3 + 1); @@ -349,7 +347,6 @@ x509_crl_get_aki(X509_CRL *crl, const char *fn) if ((res = calloc(dsz * 3 + 1, 1)) == NULL) err(1, NULL); -// XXX hate this for (i = 0; i < dsz; i++) { snprintf(buf, sizeof(buf), "%02X:", d[i]); strlcat(res, buf, dsz * 3 + 1); -- 2.20.1