summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls1.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-04-15 12:00:25 +0000
committerjsing <jsing@openbsd.org>2014-04-15 12:00:25 +0000
commitd6d77668fd289ab5459affb5d33888018bbd5eab (patch)
tree89d0ad6b404582b27cd89d996eac16c502617430 /lib/libssl/tls1.h
parentcorrect cases of code occuring directly after goto/break/return (diff)
downloadwireguard-openbsd-d6d77668fd289ab5459affb5d33888018bbd5eab.tar.xz
wireguard-openbsd-d6d77668fd289ab5459affb5d33888018bbd5eab.zip
First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using tr and md5. There is still a huge amount of inconsistency within these headers.
Diffstat (limited to 'lib/libssl/tls1.h')
-rw-r--r--lib/libssl/tls1.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/libssl/tls1.h b/lib/libssl/tls1.h
index 7e35f13849d..95d6660ac32 100644
--- a/lib/libssl/tls1.h
+++ b/lib/libssl/tls1.h
@@ -240,9 +240,9 @@ extern "C" {
#define TLSEXT_TYPE_session_ticket 35
/* ExtensionType value from draft-rescorla-tls-opaque-prf-input-00.txt */
-#if 0 /* will have to be provided externally for now ,
- * i.e. build with -DTLSEXT_TYPE_opaque_prf_input=38183
- * using whatever extension number you'd like to try */
+#if 0 /* will have to be provided externally for now ,
+ * i.e. build with - DTLSEXT_TYPE_opaque_prf_input = 38183
+ * using whatever extension number you'd like to try */
# define TLSEXT_TYPE_opaque_prf_input ?? */
#endif
@@ -295,8 +295,8 @@ int SSL_get_servername_type(const SSL *s);
* It returns 1 on success and zero otherwise.
*/
int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen,
- const char *label, size_t llen, const unsigned char *p, size_t plen,
- int use_context);
+ const char *label, size_t llen, const unsigned char *p, size_t plen,
+ int use_context);
#define SSL_set_tlsext_host_name(s,name) \
SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char *)name)
@@ -719,11 +719,10 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
#endif
/* TLS Session Ticket extension struct */
-struct tls_session_ticket_ext_st
- {
+struct tls_session_ticket_ext_st {
unsigned short length;
void *data;
- };
+};
#ifdef __cplusplus
}