diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-05 22:47:15 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-05 22:47:15 -0600 |
| commit | 3ec6bd8bfaf7fc2a29f3bb0d1f9d1dc3ba42caae (patch) | |
| tree | c74eb3d8bf1dda5964d35bc19d869489360dc49f /src/slskd/Common | |
| parent | 9be2efc74dd08e46ba80f6fd3e33542d8dcd4719 (diff) | |
| download | slskd-3ec6bd8bfaf7fc2a29f3bb0d1f9d1dc3ba42caae.tar.gz | |
validate certificate input
Diffstat (limited to 'src/slskd/Common')
| -rw-r--r-- | src/slskd/Common/Configuration/Options.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Common/Configuration/Options.cs b/src/slskd/Common/Configuration/Options.cs index 48953f78..25c89688 100644 --- a/src/slskd/Common/Configuration/Options.cs +++ b/src/slskd/Common/Configuration/Options.cs @@ -128,6 +128,7 @@ [Range(1, 65535)] public int Port { get; private set; } = 5001; public bool Force { get; private set; } = false; + [X509Certificate] public CertificateOptions Certificate { get; private set; } = new CertificateOptions(); public class CertificateOptions |
