Skip to content

Commit b0a3303

Browse files
committed
fixup! ACME: allow specifying preferred or required profile.
1 parent e22b87b commit b0a3303

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/acme/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::string::{String, ToString};
1010

1111
use http::Uri;
1212
use ngx::collections::Vec;
13-
use serde::{Deserialize, Serialize};
13+
use serde::{de::IgnoredAny, Deserialize, Serialize};
1414

1515
use crate::conf::identifier::Identifier;
1616

@@ -22,7 +22,7 @@ pub struct DirectoryMetadata {
2222
pub website: Option<Uri>,
2323
pub caa_identities: Vec<String>,
2424
pub external_account_required: Option<bool>,
25-
pub profiles: std::collections::BTreeMap<String, String>,
25+
pub profiles: std::collections::BTreeMap<String, IgnoredAny>,
2626
}
2727

2828
/// RFC8555 Section 7.1.1 Directory

0 commit comments

Comments
 (0)