Fix up whitespace in headers for doc.go.

Also, set sensible defaults for the command-line arguments to doc.go.

Change-Id: Iefd2ade4c9095489efa0ae1059007593fc84923a
This commit is contained in:
Adam Langley 2015-04-08 17:32:55 -07:00
parent d6405beb2c
commit 0fd5639701
4 changed files with 5 additions and 4 deletions

View File

@ -66,6 +66,7 @@ extern "C" {
/* RC4. */
struct rc4_key_st {
uint32_t x, y;
uint32_t data[256];

View File

@ -315,7 +315,6 @@ OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, uint8_t *EM,
int sLen);
/* ASN.1 functions. */
/* d2i_RSAPublicKey parses an ASN.1, DER-encoded, RSA public key from |len|

View File

@ -74,6 +74,7 @@ extern "C" {
* 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 @@ OPENSSL_EXPORT int CRYPTO_add_lock(int *pointer, int amount, int lock_num,
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), \

View File

@ -582,8 +582,8 @@ func generateIndex(outPath string, config *Config, headerDescriptions map[string
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
)