summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/asn1/a_bitstr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-04-18 07:09:23 +0000
committerjsing <jsing@openbsd.org>2014-04-18 07:09:23 +0000
commit0cd2744a9c991e2e0d876876f7e1516c6486f53a (patch)
treeb62b772412a41cc8b374795e602067a26a55ad99 /lib/libcrypto/asn1/a_bitstr.c
parentsupport mailaddr lookup in table_db (diff)
downloadwireguard-openbsd-0cd2744a9c991e2e0d876876f7e1516c6486f53a.tar.xz
wireguard-openbsd-0cd2744a9c991e2e0d876876f7e1516c6486f53a.zip
More KNF.
Diffstat (limited to 'lib/libcrypto/asn1/a_bitstr.c')
-rw-r--r--lib/libcrypto/asn1/a_bitstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/a_bitstr.c b/lib/libcrypto/asn1/a_bitstr.c
index 5633cfca1c5..c578ce6279f 100644
--- a/lib/libcrypto/asn1/a_bitstr.c
+++ b/lib/libcrypto/asn1/a_bitstr.c
@@ -69,7 +69,7 @@ ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len)
int
i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp)
{
- int ret, j,bits, len;
+ int ret, j, bits, len;
unsigned char *p, *d;
if (a == NULL)
@@ -198,7 +198,7 @@ ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value)
if (a == NULL)
return 0;
- a->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); /* clear, set on write */
+ a->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); /* clear, set on write */
if ((a->length < (w + 1)) || (a->data == NULL)) {
if (!value)