Browse Source

push some forgotten formatting changes

master
Mirek Kratochvil 10 months ago
parent
commit
89908fed4a
2 changed files with 6 additions and 6 deletions
  1. +1
    -1
      src/keyring.cpp
  2. +5
    -5
      src/main.cpp

+ 1
- 1
src/keyring.cpp View File

@@ -44,7 +44,7 @@ std::string keyring::get_keyid (const std::string&pubkey)
std::vector<byte> tmp =
hf (std::vector<byte>
(pubkey.data(),
pubkey.data() + pubkey.length()));
pubkey.data() + pubkey.length()));

r.resize (tmp.size() * 2, ' ');
for (size_t i = 0; i < tmp.size(); ++i) {

+ 5
- 5
src/main.cpp View File

@@ -86,7 +86,7 @@ void print_help (char*pname)
out (" -n, --no-action on import, only show what would be imported");
out (" -w, --with-lock specify the symmetric key for (un)locking the secrets");
out (" -w @SPEC ask for password and expand it to a symmetric key");
out(" of type SPEC for (un)locking the secret");
out (" of type SPEC for (un)locking the secret");
outeol;
out (" With -S and -w, using `@' as the key file name will cause the program to");
out (" interactively ask for a password and derive the symmetric key from it.");
@@ -334,11 +334,11 @@ int main (int argc, char**argv)
fill_algorithm_suite (AS);

//default local user key from environment
if(user.empty()) {
const char*u=getenv("CCR_USER");
if(u) user=u;
if (user.empty()) {
const char*u = getenv ("CCR_USER");
if (u) user = u;
}
/*
* cin/cout redirection
*/

Loading…
Cancel
Save