提交 6d9d8019 编写于 作者: M Matt Caswell

Update serverinfo documentation based on feedback received

Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3298)
上级 f233a9d1
...@@ -35,7 +35,8 @@ consist of a 4-byte context, a 2-byte Extension Type, a 2-byte length, and then ...@@ -35,7 +35,8 @@ consist of a 4-byte context, a 2-byte Extension Type, a 2-byte length, and then
length bytes of extension_data. The context and type values have the same length bytes of extension_data. The context and type values have the same
meaning as for L<SSL_CTX_add_custom_ext(3)>. If serverinfo is being loaded for meaning as for L<SSL_CTX_add_custom_ext(3)>. If serverinfo is being loaded for
extensions to be added to a Certificate message, then the extension will only extensions to be added to a Certificate message, then the extension will only
be added for the first Certificate in the message. be added for the first certificate in the message (which is always the
end-entity certificate).
If B<version> is B<SSL_SERVERINFOV1> then the extensions in the array must If B<version> is B<SSL_SERVERINFOV1> then the extensions in the array must
consist of a 2-byte Extension Type, a 2-byte length, and then length bytes of consist of a 2-byte Extension Type, a 2-byte length, and then length bytes of
...@@ -62,7 +63,7 @@ last certificate installed. If e.g. the last item was a RSA certificate, the ...@@ -62,7 +63,7 @@ last certificate installed. If e.g. the last item was a RSA certificate, the
loaded serverinfo extension data will be loaded for that certificate. To loaded serverinfo extension data will be loaded for that certificate. To
use the serverinfo extension for multiple certificates, use the serverinfo extension for multiple certificates,
SSL_CTX_use_serverinfo() needs to be called multiple times, once B<after> SSL_CTX_use_serverinfo() needs to be called multiple times, once B<after>
each time a certificate is loaded. each time a certificate is loaded via a call to SSL_CTX_use_certificate().
=head1 RETURN VALUES =head1 RETURN VALUES
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册