mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Removed some ?INFO_MSG
This commit is contained in:
parent
dd79dea81d
commit
396bd5eb3d
@ -177,7 +177,6 @@ make_csr(Attributes) ->
|
|||||||
{ok, Subject} = attributes_from_list(Attributes),
|
{ok, Subject} = attributes_from_list(Attributes),
|
||||||
|
|
||||||
CRI = certificate_request_info(SubPKInfo, Subject),
|
CRI = certificate_request_info(SubPKInfo, Subject),
|
||||||
?INFO_MSG("CRI: ~p~n", [CRI]),
|
|
||||||
{ok, EncodedCRI} = der_encode(
|
{ok, EncodedCRI} = der_encode(
|
||||||
'CertificationRequestInfo',
|
'CertificationRequestInfo',
|
||||||
CRI),
|
CRI),
|
||||||
@ -261,9 +260,7 @@ der_encode(Type, Term) ->
|
|||||||
|
|
||||||
%% TODO: I haven't found a function that does that, but there must exist one
|
%% TODO: I haven't found a function that does that, but there must exist one
|
||||||
length_bitstring(Bitstring) ->
|
length_bitstring(Bitstring) ->
|
||||||
?INFO_MSG("Bitstring: ~p", [Bitstring]),
|
|
||||||
Size = byte_size(Bitstring),
|
Size = byte_size(Bitstring),
|
||||||
?INFO_MSG("Size: ~p", [Size]),
|
|
||||||
case Size =< 127 of
|
case Size =< 127 of
|
||||||
true ->
|
true ->
|
||||||
<<12:8, Size:8, Bitstring/binary>>;
|
<<12:8, Size:8, Bitstring/binary>>;
|
||||||
|
Loading…
Reference in New Issue
Block a user