Remove spaces from RFC 4514 strings for better compliance (#4643) (#4646)
RFC 4514 does not explicitly allow whitespace between separators:
https://tools.ietf.org/html/rfc4514
Reported-by: David Arnold <dar@xoe.solutions>
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index ac6bbcd..6b2f74c 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -583,7 +583,7 @@
.. doctest::
>>> crl.issuer
- <Name(C=US, CN=cryptography.io)>
+ <Name(C=US,CN=cryptography.io)>
.. attribute:: next_update
@@ -1194,7 +1194,7 @@
get every attribute or you can use :meth:`Name.get_attributes_for_oid` to
obtain the specific type you want. Names are sometimes represented as a
slash or comma delimited string (e.g. ``/CN=mydomain.com/O=My Org/C=US`` or
- ``CN=mydomain.com, O=My Org, C=US``).
+ ``CN=mydomain.com,O=My Org,C=US``).
Technically, a Name is a list of *sets* of attributes, called *Relative
Distinguished Names* or *RDNs*, although multi-valued RDNs are rarely
@@ -1251,7 +1251,7 @@
.. versionadded:: 2.5
:return str: Format the given name as a `RFC 4514`_ Distinguished Name
- string, for example ``CN=mydomain.com, O=My Org, C=US``.
+ string, for example ``CN=mydomain.com,O=My Org,C=US``.
.. class:: Version