]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2001/03/26 23:12:42
authormouring <mouring>
Thu, 29 Mar 2001 00:28:37 +0000 (00:28 +0000)
committermouring <mouring>
Thu, 29 Mar 2001 00:28:37 +0000 (00:28 +0000)
     [authfile.c]
     KNF

ChangeLog
authfile.c

index 33b560e44078b6dd768013256ce96f0db8a588bd..2bfb27a3488d8e02cfaee6a67bc7587ec29bdb85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
    - stevesk@cvs.openbsd.org 2001/03/26 15:47:59
      [ssh.1]
      document more defaults; misc. cleanup.  ok markus@
+   - markus@cvs.openbsd.org 2001/03/26 23:12:42
+     [authfile.c]
+     KNF
 
 20010328
  - (djm) Reorder tests and library inclusion for Krb4/AFS to try to 
index c867724dbc82483888862ec57470a75bd67465cf..e02b301fdb1b92f986380dde42103775389f5050 100644 (file)
@@ -36,7 +36,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: authfile.c,v 1.29 2001/03/26 08:07:07 markus Exp $");
+RCSID("$OpenBSD: authfile.c,v 1.30 2001/03/26 23:12:42 markus Exp $");
 
 #include <openssl/err.h>
 #include <openssl/evp.h>
@@ -185,14 +185,14 @@ key_save_private_pem(Key *key, const char *filename, const char *_passphrase,
                return 0;
        }
        switch (key->type) {
-               case KEY_DSA:
-                       success = PEM_write_DSAPrivateKey(fp, key->dsa,
-                           cipher, passphrase, len, NULL, NULL);
-                       break;
-               case KEY_RSA:
-                       success = PEM_write_RSAPrivateKey(fp, key->rsa,
-                           cipher, passphrase, len, NULL, NULL);
-                       break;
+       case KEY_DSA:
+               success = PEM_write_DSAPrivateKey(fp, key->dsa,
+                   cipher, passphrase, len, NULL, NULL);
+               break;
+       case KEY_RSA:
+               success = PEM_write_RSAPrivateKey(fp, key->rsa,
+                   cipher, passphrase, len, NULL, NULL);
+               break;
        }
        fclose(fp);
        return success;
This page took 0.112601 seconds and 5 git commands to generate.