Fix up whitespace in headers for doc.go.
Also, set sensible defaults for the command-line arguments to doc.go.
Change-Id: Iefd2ade4c9095489efa0ae1059007593fc84923a
diff --git a/include/openssl/rc4.h b/include/openssl/rc4.h
index 42a74f2..0619cac 100644
--- a/include/openssl/rc4.h
+++ b/include/openssl/rc4.h
@@ -66,6 +66,7 @@
/* RC4. */
+
struct rc4_key_st {
uint32_t x, y;
uint32_t data[256];
diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h
index 7bb9fd5..f49eb14 100644
--- a/include/openssl/rsa.h
+++ b/include/openssl/rsa.h
@@ -315,7 +315,6 @@
int sLen);
-
/* ASN.1 functions. */
/* d2i_RSAPublicKey parses an ASN.1, DER-encoded, RSA public key from |len|
diff --git a/include/openssl/thread.h b/include/openssl/thread.h
index 25e252c..1f8f524 100644
--- a/include/openssl/thread.h
+++ b/include/openssl/thread.h
@@ -74,6 +74,7 @@
* callback support a fixed (at run-time) number of different locks, given by
* |CRYPTO_num_locks|. */
+
/* CRYPTO_num_locks returns the number of static locks that the callback
* function passed to |CRYPTO_set_locking_callback| must be able to handle. */
OPENSSL_EXPORT int CRYPTO_num_locks(void);
@@ -154,7 +155,7 @@
const char *file, int line);
/* Lock IDs start from 1. CRYPTO_LOCK_INVALID_LOCK is an unused placeholder
-* used to ensure no lock has ID 0. */
+ * used to ensure no lock has ID 0. */
#define CRYPTO_LOCK_LIST \
CRYPTO_LOCK_ITEM(CRYPTO_LOCK_INVALID_LOCK), \
CRYPTO_LOCK_ITEM(CRYPTO_LOCK_BIO), \
diff --git a/util/doc.go b/util/doc.go
index 7c96af8..48eac61 100644
--- a/util/doc.go
+++ b/util/doc.go
@@ -582,8 +582,8 @@
func main() {
var (
- configFlag *string = flag.String("config", "", "Location of config file")
- outputDir *string = flag.String("out", "", "Path to the directory where the output will be written")
+ configFlag *string = flag.String("config", "doc.config", "Location of config file")
+ outputDir *string = flag.String("out", ".", "Path to the directory where the output will be written")
config Config
)