summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/OBJ_nid2obj.pod
diff options
context:
space:
mode:
authorjim <>2014-05-04 21:46:36 +0000
committerjim <>2014-05-04 21:46:36 +0000
commitadc2a0a37a306f738da40a5a46f14e7fc9f1f571 (patch)
treea8892de8fd6e54fc93e929516a1ed1c754ef77fd /src/lib/libcrypto/doc/OBJ_nid2obj.pod
parentc247b29180fe4c94ba872da4fd237eab43c0df48 (diff)
downloadopenbsd-adc2a0a37a306f738da40a5a46f14e7fc9f1f571.tar.gz
openbsd-adc2a0a37a306f738da40a5a46f14e7fc9f1f571.tar.bz2
openbsd-adc2a0a37a306f738da40a5a46f14e7fc9f1f571.zip
Remove trailing whitespace.
fine jmc@
Diffstat (limited to 'src/lib/libcrypto/doc/OBJ_nid2obj.pod')
-rw-r--r--src/lib/libcrypto/doc/OBJ_nid2obj.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/doc/OBJ_nid2obj.pod b/src/lib/libcrypto/doc/OBJ_nid2obj.pod
index 1e45dd40f6..458ef025f0 100644
--- a/src/lib/libcrypto/doc/OBJ_nid2obj.pod
+++ b/src/lib/libcrypto/doc/OBJ_nid2obj.pod
@@ -34,7 +34,7 @@ functions
34The ASN1 object utility functions process ASN1_OBJECT structures which are 34The ASN1 object utility functions process ASN1_OBJECT structures which are
35a representation of the ASN1 OBJECT IDENTIFIER (OID) type. 35a representation of the ASN1 OBJECT IDENTIFIER (OID) type.
36 36
37OBJ_nid2obj(), OBJ_nid2ln() and OBJ_nid2sn() convert the NID B<n> to 37OBJ_nid2obj(), OBJ_nid2ln() and OBJ_nid2sn() convert the NID B<n> to
38an ASN1_OBJECT structure, its long name and its short name respectively, 38an ASN1_OBJECT structure, its long name and its short name respectively,
39or B<NULL> is an error occurred. 39or B<NULL> is an error occurred.
40 40
@@ -62,7 +62,7 @@ OBJ_cmp() compares B<a> to B<b>. If the two are identical 0 is returned.
62 62
63OBJ_dup() returns a copy of B<o>. 63OBJ_dup() returns a copy of B<o>.
64 64
65OBJ_create() adds a new object to the internal table. B<oid> is the 65OBJ_create() adds a new object to the internal table. B<oid> is the
66numerical form of the object, B<sn> the short name and B<ln> the 66numerical form of the object, B<sn> the short name and B<ln> the
67long name. A new NID is returned for the created object. 67long name. A new NID is returned for the created object.
68 68
@@ -115,14 +115,14 @@ Create a new NID and initialize an object from it:
115 new_nid = OBJ_create("1.2.3.4", "NewOID", "New Object Identifier"); 115 new_nid = OBJ_create("1.2.3.4", "NewOID", "New Object Identifier");
116 116
117 obj = OBJ_nid2obj(new_nid); 117 obj = OBJ_nid2obj(new_nid);
118 118
119Create a new object directly: 119Create a new object directly:
120 120
121 obj = OBJ_txt2obj("1.2.3.4", 1); 121 obj = OBJ_txt2obj("1.2.3.4", 1);
122 122
123=head1 BUGS 123=head1 BUGS
124 124
125OBJ_obj2txt() is awkward and messy to use: it doesn't follow the 125OBJ_obj2txt() is awkward and messy to use: it doesn't follow the
126convention of other OpenSSL functions where the buffer can be set 126convention of other OpenSSL functions where the buffer can be set
127to B<NULL> to determine the amount of data that should be written. 127to B<NULL> to determine the amount of data that should be written.
128Instead B<buf> must point to a valid buffer and B<buf_len> should 128Instead B<buf> must point to a valid buffer and B<buf_len> should