/*
* Simple GnuTLS client used for testing.
*
- * Copyright (C) 2011 Simon Ruderich
+ * Copyright (C) 2011-2013 Simon Ruderich
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include <config.h>
-#include <stdlib.h>
+#include <arpa/inet.h>
+#include <errno.h>
+#include <netdb.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
-/* socket(), connect() */
-#include <sys/types.h>
#include <sys/socket.h>
-/* close() */
+#include <sys/types.h>
#include <unistd.h>
-/* getaddrinfo() */
-#include <netdb.h>
-/* htons() */
-#include <arpa/inet.h>
-/* errno */
-#include <errno.h>
-/* GnuTLS */
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>