diff options
Diffstat (limited to 'src/cmd/asn1.cpp')
-rw-r--r-- | src/cmd/asn1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/asn1.cpp b/src/cmd/asn1.cpp index d02a4cced..f5b6b6b4e 100644 --- a/src/cmd/asn1.cpp +++ b/src/cmd/asn1.cpp @@ -90,7 +90,7 @@ void emit(const std::string& type, size_t level, size_t length, const std::strin out << value; } - std::cout << out.str() << "\n"; + std::cout << out.str() << std::endl; } std::string type_name(ASN1_Tag type) @@ -308,7 +308,7 @@ void decode(BER_Decoder& decoder, size_t level) std::cout << "Unknown ASN.1 tag class=" << static_cast<int>(class_tag) << " type=" - << static_cast<int>(type_tag) << "\n"; + << static_cast<int>(type_tag) << std::endl; } obj = decoder.get_next_object(); @@ -319,7 +319,7 @@ int asn1(int argc, char* argv[]) { if(argc != 2) { - std::cout << "Usage: " << argv[0] << " <file>\n"; + std::cout << "Usage: " << argv[0] << " <file>" << std::endl; return 1; } @@ -340,7 +340,7 @@ int asn1(int argc, char* argv[]) } catch(std::exception& e) { - std::cout << "Error: " << e.what() << "\n"; + std::cout << "Error: " << e.what() << std::endl; return 2; } |