24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Removed some ?INFO_MSG

This commit is contained in:
Konstantinos Kallas 2017-06-22 11:38:40 +03:00
parent dd79dea81d
commit 396bd5eb3d

View File

@ -177,7 +177,6 @@ make_csr(Attributes) ->
{ok, Subject} = attributes_from_list(Attributes),
CRI = certificate_request_info(SubPKInfo, Subject),
?INFO_MSG("CRI: ~p~n", [CRI]),
{ok, EncodedCRI} = der_encode(
'CertificationRequestInfo',
CRI),
@ -261,9 +260,7 @@ der_encode(Type, Term) ->
%% TODO: I haven't found a function that does that, but there must exist one
length_bitstring(Bitstring) ->
?INFO_MSG("Bitstring: ~p", [Bitstring]),
Size = byte_size(Bitstring),
?INFO_MSG("Size: ~p", [Size]),
case Size =< 127 of
true ->
<<12:8, Size:8, Bitstring/binary>>;