summaryrefslogtreecommitdiff
path: root/lib/algorithms/cert_types.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/algorithms/cert_types.c')
-rw-r--r--lib/algorithms/cert_types.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/algorithms/cert_types.c b/lib/algorithms/cert_types.c
index 4fa43b819f..41c3b903a1 100644
--- a/lib/algorithms/cert_types.c
+++ b/lib/algorithms/cert_types.c
@@ -35,8 +35,7 @@
* Returns: a string that contains the name of the specified
* certificate type, or %NULL in case of unknown types.
**/
-const char *gnutls_certificate_type_get_name(gnutls_certificate_type_t
- type)
+const char *gnutls_certificate_type_get_name(gnutls_certificate_type_t type)
{
const char *ret = NULL;
@@ -61,8 +60,7 @@ gnutls_certificate_type_t gnutls_certificate_type_get_id(const char *name)
{
gnutls_certificate_type_t ret = GNUTLS_CRT_UNKNOWN;
- if (c_strcasecmp(name, "X.509") == 0
- || c_strcasecmp(name, "X509") == 0)
+ if (c_strcasecmp(name, "X.509") == 0 || c_strcasecmp(name, "X509") == 0)
return GNUTLS_CRT_X509;
if (c_strcasecmp(name, "RAWPK") == 0)
return GNUTLS_CRT_RAWPK;