diff options
| author | 2014-04-19 08:52:32 +0000 | |
|---|---|---|
| committer | 2014-04-19 08:52:32 +0000 | |
| commit | dbea66cd1623e97296cb30d20896a9c0c5976d2c (patch) | |
| tree | 19fdc86fc22b0040ec8adf299f852dd795e70bb8 /lib/libssl/src/ssl/kssl.c | |
| parent | tiny fix: Remove duplicate rows, they appeared after importing less 444 (diff) | |
| download | wireguard-openbsd-dbea66cd1623e97296cb30d20896a9c0c5976d2c.tar.xz wireguard-openbsd-dbea66cd1623e97296cb30d20896a9c0c5976d2c.zip | |
More KNF and style consistency tweaks
Diffstat (limited to 'lib/libssl/src/ssl/kssl.c')
| -rw-r--r-- | lib/libssl/src/ssl/kssl.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libssl/src/ssl/kssl.c b/lib/libssl/src/ssl/kssl.c index 163079de20f..a0beabe7536 100644 --- a/lib/libssl/src/ssl/kssl.c +++ b/lib/libssl/src/ssl/kssl.c @@ -104,8 +104,8 @@ kssl_calloc(size_t nmemb, size_t size) #define kssl_free(ptr) free((ptr)) -char -*kstring(char *string) +char * +kstring(char *string) { static char *null = "[NULL]"; @@ -207,8 +207,8 @@ kssl_test_confound(unsigned char *p) ** what the highest assigned CKSUMTYPE_ constant is. As of 1.2.2 ** it is 0x000c (CKSUMTYPE_HMAC_SHA1_DES3). So we will use 0x0010. */ -static size_t -*populate_cksumlens(void) +static size_t * +populate_cksumlens(void) { int i, j, n; static size_t *cklens = NULL; @@ -250,8 +250,8 @@ static size_t ** This hackery wouldn't be necessary if MIT KRB5 1.0.6 had the ** krb5_auth_con_getcksumtype() function advertised in its krb5.h. */ -unsigned char -*kssl_skip_confound(krb5_enctype etype, unsigned char *a) +unsigned char * +kssl_skip_confound(krb5_enctype etype, unsigned char *a) { int i, conlen; size_t cklen; @@ -1213,8 +1213,8 @@ kssl_krb5_free_data_contents(krb5_context context, krb5_data *data) ** Return pointer to the (partially) filled in struct tm on success, ** return NULL on failure. */ -static struct tm -*k_gmtime(ASN1_GENERALIZEDTIME *gtime, struct tm *k_tm) { +static struct tm * +k_gmtime(ASN1_GENERALIZEDTIME *gtime, struct tm *k_tm) { char c, *p; if (!k_tm) |
