Unverified Commit a7528056 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Document the horror show

parent 78aa9aa2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -807,6 +807,9 @@ impl X509Extension {
    /// Some extension types, such as `subjectAlternativeName`, require an `X509v3Context` to be
    /// provided.
    ///
    /// DO NOT CALL THIS WITH UNTRUSTED `value`: `value` is an OpenSSL
    /// mini-language that can read arbitrary files.
    ///
    /// See the extension module for builder types which will construct certain common extensions.
    pub fn new(
        conf: Option<&ConfRef>,
@@ -849,6 +852,9 @@ impl X509Extension {
    /// Some extension types, such as `nid::SUBJECT_ALTERNATIVE_NAME`, require an `X509v3Context` to
    /// be provided.
    ///
    /// DO NOT CALL THIS WITH UNTRUSTED `value`: `value` is an OpenSSL
    /// mini-language that can read arbitrary files.
    ///
    /// See the extension module for builder types which will construct certain common extensions.
    pub fn new_nid(
        conf: Option<&ConfRef>,