summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
diff options
context:
space:
mode:
authordoug <>2015-06-13 08:38:10 +0000
committerdoug <>2015-06-13 08:38:10 +0000
commitffdde82e8fceeaaea8ca893d8bffc0dcc53daf40 (patch)
treed662b590881eb66fb307e6d2ac19b7a15cc092ba /src/lib/libcrypto/x509
parent7046960ffae4141275822862cb7065584b59d3ae (diff)
downloadopenbsd-ffdde82e8fceeaaea8ca893d8bffc0dcc53daf40.tar.gz
openbsd-ffdde82e8fceeaaea8ca893d8bffc0dcc53daf40.tar.bz2
openbsd-ffdde82e8fceeaaea8ca893d8bffc0dcc53daf40.zip
Fix bad indenting in LibreSSL.
jsg@ noticed that some of the lines in libssl and libcrypto are not indented properly. At a quick glance, it looks like it has a different control flow than it really does. I checked the history in our tree and in OpenSSL to make sure these were simple mistakes. ok miod@ jsing@
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r--src/lib/libcrypto/x509/x509type.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509type.c b/src/lib/libcrypto/x509/x509type.c
index 58335b4e64..d0dcffb290 100644
--- a/src/lib/libcrypto/x509/x509type.c
+++ b/src/lib/libcrypto/x509/x509type.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509type.c,v 1.11 2014/07/11 08:44:49 jsing Exp $ */ 1/* $OpenBSD: x509type.c,v 1.12 2015/06/13 08:38:10 doug Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -121,9 +121,9 @@ X509_certificate_type(X509 *x, EVP_PKEY *pkey)
121 } 121 }
122 } 122 }
123 123
124 if (EVP_PKEY_size(pk) <= 1024/8)/* /8 because it's 1024 bits we look 124 /* /8 because it's 1024 bits we look for, not bytes */
125 for, not bytes */ 125 if (EVP_PKEY_size(pk) <= 1024 / 8)
126 ret |= EVP_PKT_EXP; 126 ret |= EVP_PKT_EXP;
127 if (pkey == NULL) 127 if (pkey == NULL)
128 EVP_PKEY_free(pk); 128 EVP_PKEY_free(pk);
129 return (ret); 129 return (ret);