summaryrefslogtreecommitdiff
path: root/lib/x509_b64.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-04 10:12:46 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-04 10:12:46 +0000
commit40d788f685b1dc4ea83619b2217fbbe785849159 (patch)
tree34b1ca364725d8d421becaa7137936e7a81b7387 /lib/x509_b64.c
parentf09bc014f42a5850df40d7e9e3699ab78775704f (diff)
downloadgnutls-40d788f685b1dc4ea83619b2217fbbe785849159.tar.gz
Improved gnutls_x509_extract_key_pk_algorithm(), which can now distinguish DSA keys from unknown keys.
Diffstat (limited to 'lib/x509_b64.c')
-rw-r--r--lib/x509_b64.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/x509_b64.c b/lib/x509_b64.c
index 9c11362322..e87e67123d 100644
--- a/lib/x509_b64.c
+++ b/lib/x509_b64.c
@@ -292,7 +292,8 @@ int size;
* allocate (using malloc) the required memory to hold the encoded data.
*
**/
-int gnutls_pem_base64_encode_alloc( const char* msg, const gnutls_datum *data, gnutls_datum* result)
+int gnutls_pem_base64_encode_alloc( const char* msg, const gnutls_datum *data,
+ gnutls_datum* result)
{
opaque* ret;
int size, res;
@@ -510,7 +511,8 @@ int size;
* Note that b64_data should be null terminated.
*
**/
-int gnutls_pem_base64_decode_alloc( const char* header, const gnutls_datum *b64_data, gnutls_datum* result)
+int gnutls_pem_base64_decode_alloc( const char* header, const gnutls_datum *b64_data,
+ gnutls_datum* result)
{
opaque* ret;
int size, res;