diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-10-04 10:12:46 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-10-04 10:12:46 +0000 |
commit | 40d788f685b1dc4ea83619b2217fbbe785849159 (patch) | |
tree | 34b1ca364725d8d421becaa7137936e7a81b7387 /lib/x509_b64.c | |
parent | f09bc014f42a5850df40d7e9e3699ab78775704f (diff) | |
download | gnutls-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.c | 6 |
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; |