summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-08-11 21:06:18 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-08-11 21:06:18 +0000
commitaa81be9b6d6679b6d66f0e4b5a4c9689d34c2a01 (patch)
tree48644a71f8f0546abf7f0e282acba73f83f662a4 /lib
parentdcc0f930c3365e8d56498bbb06d129ee37e52c4c (diff)
style(9) in ssl_set_cert_masks().
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_lib.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index bc8b56d3be9..8ca2c8d783c 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.163 2017/08/10 17:18:38 jsing Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.164 2017/08/11 21:06:17 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -2072,18 +2072,18 @@ ssl_set_cert_masks(CERT *c, const SSL_CIPHER *cipher)
}
if (rsa_enc)
- mask_k|=SSL_kRSA;
+ mask_k |= SSL_kRSA;
if (dh_tmp)
- mask_k|=SSL_kDHE;
+ mask_k |= SSL_kDHE;
if (rsa_enc || rsa_sign)
- mask_a|=SSL_aRSA;
+ mask_a |= SSL_aRSA;
if (dsa_sign)
- mask_a|=SSL_aDSS;
+ mask_a |= SSL_aDSS;
- mask_a|=SSL_aNULL;
+ mask_a |= SSL_aNULL;
/*
* An ECC certificate may be usable for ECDH and/or
@@ -2098,7 +2098,7 @@ ssl_set_cert_masks(CERT *c, const SSL_CIPHER *cipher)
/* Key usage, if present, must allow signing. */
if ((x->ex_flags & EXFLAG_KUSAGE) == 0 ||
(x->ex_kusage & X509v3_KU_DIGITAL_SIGNATURE))
- mask_a|=SSL_aECDSA;
+ mask_a |= SSL_aECDSA;
}
mask_k |= SSL_kECDHE;