diff options
author | jim <> | 2014-05-04 21:46:36 +0000 |
---|---|---|
committer | jim <> | 2014-05-04 21:46:36 +0000 |
commit | adc2a0a37a306f738da40a5a46f14e7fc9f1f571 (patch) | |
tree | a8892de8fd6e54fc93e929516a1ed1c754ef77fd /src/lib/libcrypto/doc/OBJ_nid2obj.pod | |
parent | c247b29180fe4c94ba872da4fd237eab43c0df48 (diff) | |
download | openbsd-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.pod | 8 |
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 | |||
34 | The ASN1 object utility functions process ASN1_OBJECT structures which are | 34 | The ASN1 object utility functions process ASN1_OBJECT structures which are |
35 | a representation of the ASN1 OBJECT IDENTIFIER (OID) type. | 35 | a representation of the ASN1 OBJECT IDENTIFIER (OID) type. |
36 | 36 | ||
37 | OBJ_nid2obj(), OBJ_nid2ln() and OBJ_nid2sn() convert the NID B<n> to | 37 | OBJ_nid2obj(), OBJ_nid2ln() and OBJ_nid2sn() convert the NID B<n> to |
38 | an ASN1_OBJECT structure, its long name and its short name respectively, | 38 | an ASN1_OBJECT structure, its long name and its short name respectively, |
39 | or B<NULL> is an error occurred. | 39 | or 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 | ||
63 | OBJ_dup() returns a copy of B<o>. | 63 | OBJ_dup() returns a copy of B<o>. |
64 | 64 | ||
65 | OBJ_create() adds a new object to the internal table. B<oid> is the | 65 | OBJ_create() adds a new object to the internal table. B<oid> is the |
66 | numerical form of the object, B<sn> the short name and B<ln> the | 66 | numerical form of the object, B<sn> the short name and B<ln> the |
67 | long name. A new NID is returned for the created object. | 67 | long 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 | ||
119 | Create a new object directly: | 119 | Create 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 | ||
125 | OBJ_obj2txt() is awkward and messy to use: it doesn't follow the | 125 | OBJ_obj2txt() is awkward and messy to use: it doesn't follow the |
126 | convention of other OpenSSL functions where the buffer can be set | 126 | convention of other OpenSSL functions where the buffer can be set |
127 | to B<NULL> to determine the amount of data that should be written. | 127 | to B<NULL> to determine the amount of data that should be written. |
128 | Instead B<buf> must point to a valid buffer and B<buf_len> should | 128 | Instead B<buf> must point to a valid buffer and B<buf_len> should |