From e409acc0f7582573318bee47cc7ac5edcebbfb31 Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 21 Oct 2022 12:38:04 -0500 Subject: [PATCH] cite RFC 5280 in DIST_POINT_NAME comment --- src/x509.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/x509.c b/src/x509.c index abd9f7368..ba695ef4b 100644 --- a/src/x509.c +++ b/src/x509.c @@ -4118,7 +4118,8 @@ static WOLFSSL_DIST_POINT_NAME* wolfSSL_DIST_POINT_NAME_new(void) } gns->type = STACK_TYPE_GEN_NAME; - /* Setting type to 0 because this is fullname */ + /* DIST_POINT_NAME type may be 0 or 1, indicating whether fullname or + * relativename is used. See: RFC 5280 section 4.2.1.13 */ dpn->name.fullname = gns; dpn->type = 0;