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:
parent
d6405beb2c
commit
0fd5639701
@ -66,6 +66,7 @@ extern "C" {
|
||||
|
||||
/* RC4. */
|
||||
|
||||
|
||||
struct rc4_key_st {
|
||||
uint32_t x, y;
|
||||
uint32_t data[256];
|
||||
|
@ -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|
|
||||
|
@ -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), \
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user