Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist style: remove spurious {} a...



details:   https://anonhg.NetBSD.org/src/rev/f48fb69884ee
branches:  trunk
changeset: 829591:f48fb69884ee
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Feb 06 10:56:35 2018 +0000

description:
style: remove spurious {} added in 1.12

diffstat:

 crypto/external/bsd/openssh/dist/ssh-dss.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r f321f1ca3320 -r f48fb69884ee crypto/external/bsd/openssh/dist/ssh-dss.c
--- a/crypto/external/bsd/openssh/dist/ssh-dss.c        Tue Feb 06 10:02:09 2018 +0000
+++ b/crypto/external/bsd/openssh/dist/ssh-dss.c        Tue Feb 06 10:56:35 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ssh-dss.c,v 1.12 2018/02/05 00:13:50 christos Exp $    */
+/*     $NetBSD: ssh-dss.c,v 1.13 2018/02/06 10:56:35 maya Exp $        */
 /* $OpenBSD: ssh-dss.c,v 1.35 2016/04/21 06:08:02 djm Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: ssh-dss.c,v 1.12 2018/02/05 00:13:50 christos Exp $");
+__RCSID("$NetBSD: ssh-dss.c,v 1.13 2018/02/06 10:56:35 maya Exp $");
 #include <sys/types.h>
 
 #include <openssl/bn.h>
@@ -175,7 +175,6 @@
        }
 
        /* parse signature */
-       {
        BIGNUM *r=NULL, *s=NULL;
        if ((sig = DSA_SIG_new()) == NULL ||
            (r = BN_new()) == NULL ||
@@ -194,7 +193,6 @@
        }
        DSA_SIG_set0(sig, r, s);
        r = s = NULL;
-       }
 
        /* sha1 the data */
        if ((ret = ssh_digest_memory(SSH_DIGEST_SHA1, data, datalen,



Home | Main Index | Thread Index | Old Index