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;