diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-19 08:52:33 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-19 08:52:33 +0000 |
commit | a741b41b219682ab8844f1d8339d625d52264d19 (patch) | |
tree | 0cf738e6ba24d3d9932ddf19fe534095af29ef9f /lib/libssl/ssl_ciph.c | |
parent | 258d452e925eea9fbd0a6b764407f6b32bd8b733 (diff) |
More KNF and style consistency tweaks
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r-- | lib/libssl/ssl_ciph.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c index 140a00ceca5..7d2ea6c481c 100644 --- a/lib/libssl/ssl_ciph.c +++ b/lib/libssl/ssl_ciph.c @@ -1295,8 +1295,8 @@ const SSL_CIPHER **ca_list) return (retval); } -STACK_OF(SSL_CIPHER) -*ssl_create_cipher_list(const SSL_METHOD *ssl_method, +STACK_OF(SSL_CIPHER) * +ssl_create_cipher_list(const SSL_METHOD *ssl_method, STACK_OF(SSL_CIPHER) **cipher_list, STACK_OF(SSL_CIPHER) **cipher_list_by_id, const char *rule_str) @@ -1466,8 +1466,8 @@ STACK_OF(SSL_CIPHER) return (cipherstack); } -char -*SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) +char * +SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) { int is_export, pkl, kl, l; const char *ver, *exp_str; @@ -1652,8 +1652,8 @@ char return (buf); } -char -*SSL_CIPHER_get_version(const SSL_CIPHER *c) +char * +SSL_CIPHER_get_version(const SSL_CIPHER *c) { int i; @@ -1669,8 +1669,8 @@ char } /* return the actual cipher being used */ -const char -*SSL_CIPHER_get_name(const SSL_CIPHER *c) +const char * +SSL_CIPHER_get_name(const SSL_CIPHER *c) { if (c != NULL) return (c->name); @@ -1697,8 +1697,8 @@ SSL_CIPHER_get_id(const SSL_CIPHER *c) return c->id; } -SSL_COMP -*ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n) +SSL_COMP * +ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n) { SSL_COMP *ctmp; int i, nn; @@ -1715,8 +1715,8 @@ SSL_COMP } #ifdef OPENSSL_NO_COMP -void -*SSL_COMP_get_compression_methods(void) +void * +SSL_COMP_get_compression_methods(void) { return NULL; } @@ -1727,14 +1727,14 @@ SSL_COMP_add_compression_method(int id, void *cm) return 1; } -const char -*SSL_COMP_get_name(const void *comp) +const char * +SSL_COMP_get_name(const void *comp) { return NULL; } #else -STACK_OF(SSL_COMP) -*SSL_COMP_get_compression_methods(void) +STACK_OF(SSL_COMP) * +SSL_COMP_get_compression_methods(void) { load_builtin_compressions(); return (ssl_comp_methods); @@ -1782,8 +1782,8 @@ SSL_COMP_add_compression_method(int id, COMP_METHOD *cm) } } -const char -*SSL_COMP_get_name(const COMP_METHOD *comp) +const char * +SSL_COMP_get_name(const COMP_METHOD *comp) { if (comp) return comp->name; |