summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/system-keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/includes/gnutls/system-keys.h')
-rw-r--r--lib/includes/gnutls/system-keys.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/lib/includes/gnutls/system-keys.h b/lib/includes/gnutls/system-keys.h
index a0aa056dfa..9b58451462 100644
--- a/lib/includes/gnutls/system-keys.h
+++ b/lib/includes/gnutls/system-keys.h
@@ -21,10 +21,10 @@
*/
#ifndef GNUTLS_SYSTEM_KEYS_H
-#define GNUTLS_SYSTEM_KEYS_H
+# define GNUTLS_SYSTEM_KEYS_H
-#include <gnutls/gnutls.h>
-#include <gnutls/x509.h>
+# include <gnutls/gnutls.h>
+# include <gnutls/x509.h>
/* This API allows to access user key and certificate pairs that are
* available in the current system. If any passwords are required,
@@ -42,18 +42,17 @@ typedef struct system_key_iter_st *gnutls_system_key_iter_t;
void gnutls_system_key_iter_deinit(gnutls_system_key_iter_t iter);
int
-gnutls_system_key_iter_get_info(gnutls_system_key_iter_t *iter,
- unsigned cert_type /* gnutls_certificate_type_t */,
- char **cert_url,
- char **key_url,
- char **label,
- gnutls_datum_t *der,
- unsigned int flags);
+gnutls_system_key_iter_get_info(gnutls_system_key_iter_t * iter,
+ unsigned cert_type
+ /* gnutls_certificate_type_t */ ,
+ char **cert_url, char **key_url, char **label,
+ gnutls_datum_t * der, unsigned int flags);
int gnutls_system_key_delete(const char *cert_url, const char *key_url);
-int gnutls_system_key_add_x509(gnutls_x509_crt_t crt, gnutls_x509_privkey_t privkey,
- const char *label, char **cert_url, char **key_url);
+int gnutls_system_key_add_x509(gnutls_x509_crt_t crt,
+ gnutls_x509_privkey_t privkey, const char *label,
+ char **cert_url, char **key_url);
/* *INDENT-OFF* */
#ifdef __cplusplus
@@ -61,4 +60,4 @@ int gnutls_system_key_add_x509(gnutls_x509_crt_t crt, gnutls_x509_privkey_t priv
#endif
/* *INDENT-ON* */
-#endif /* GNUTLS_SYSTEM_KEYS_H */
+#endif /* GNUTLS_SYSTEM_KEYS_H */