mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Cleanup some comments:
This commit is contained in:
parent
7cc7b74f1e
commit
e45f7ddfec
@ -568,10 +568,6 @@ certificate_exists(Host) ->
|
||||
|
||||
%% For now we accept only generating a key of
|
||||
%% specific type for signing the csr
|
||||
%% TODO: Make this function handle more signing keys
|
||||
%% 1. Derive oid from Key
|
||||
%% 2. Derive the whole algo objects from Key
|
||||
%% TODO: Encode Strings using length using a library function
|
||||
|
||||
-spec make_csr(proplist()) -> {binary(), jose_jwk:key()}.
|
||||
make_csr(Attributes) ->
|
||||
@ -722,7 +718,6 @@ get_challenges(Body) ->
|
||||
|
||||
-spec not_before_not_after() -> {binary(), binary()}.
|
||||
not_before_not_after() ->
|
||||
%% TODO: Make notBefore and notAfter configurable somewhere
|
||||
{MegS, Sec, MicS} = erlang:timestamp(),
|
||||
NotBefore = xmpp_util:encode_timestamp({MegS, Sec, MicS}),
|
||||
%% The certificate will be valid for 90 Days after today
|
||||
|
Loading…
Reference in New Issue
Block a user