subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1617096 - in /subversion/branches/svn-auth-x509/subversion: include/svn_x509.h libsvn_subr/x509.h libsvn_subr/x509info.c libsvn_subr/x509parse.c tests/libsvn_subr/x509-test.c
Date Sun, 10 Aug 2014 11:34:16 GMT
Author: ivan
Date: Sun Aug 10 11:34:16 2014
New Revision: 1617096

URL: http://svn.apache.org/r1617096
Log:
On svn-auth-x509 branch:

* subversion/include/svn_x509.h
* subversion/libsvn_subr/x509.h
* subversion/libsvn_subr/x509info.c
* subversion/libsvn_subr/x509parse.c
* subversion/tests/libsvn_subr/x509-test.c
  (): Fix line endings and set svn:eol-style to native.

Modified:
    subversion/branches/svn-auth-x509/subversion/include/svn_x509.h   (contents, props changed)
    subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509.h   (props changed)
    subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509info.c   (contents, props
changed)
    subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c   (props changed)
    subversion/branches/svn-auth-x509/subversion/tests/libsvn_subr/x509-test.c   (props changed)

Modified: subversion/branches/svn-auth-x509/subversion/include/svn_x509.h
URL: http://svn.apache.org/viewvc/subversion/branches/svn-auth-x509/subversion/include/svn_x509.h?rev=1617096&r1=1617095&r2=1617096&view=diff
==============================================================================
--- subversion/branches/svn-auth-x509/subversion/include/svn_x509.h (original)
+++ subversion/branches/svn-auth-x509/subversion/include/svn_x509.h Sun Aug 10 11:34:16 2014
@@ -123,14 +123,14 @@ svn_x509_certinfo_get_digest(const svn_x
 const apr_array_header_t *
 svn_x509_certinfo_get_hostnames(const svn_x509_certinfo_t *certinfo);
 
-/** Return the properly formatted representation of a certificate
- * @a fingerprint, allocating the string in @a pool.
- *
- * @since New in 1.9.
+/** Return the properly formatted representation of a certificate
+ * @a fingerprint, allocating the string in @a pool.
+ *
+ * @since New in 1.9.
  */
-const char *
-svn_x509_fingerprint_to_display(const svn_checksum_t *fingerprint,
-                                apr_pool_t *pool);
+const char *
+svn_x509_fingerprint_to_display(const svn_checksum_t *fingerprint,
+                                apr_pool_t *pool);
 
 #ifdef __cplusplus
 }

Propchange: subversion/branches/svn-auth-x509/subversion/include/svn_x509.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509info.c
URL: http://svn.apache.org/viewvc/subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509info.c?rev=1617096&r1=1617095&r2=1617096&view=diff
==============================================================================
--- subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509info.c (original)
+++ subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509info.c Sun Aug 10 11:34:16
2014
@@ -101,32 +101,32 @@ svn_x509_certinfo_get_hostnames(const sv
   return certinfo->hostnames;
 }
 
-const char *
-svn_x509_fingerprint_to_display(const svn_checksum_t *fingerprint,
-                                apr_pool_t *pool)
-{
-  static const char *hex = "0123456789ABCDEF";
-  apr_size_t digest_size;
-  apr_size_t i;
-  svn_stringbuf_t *buf;
-
-  if (fingerprint->kind == svn_checksum_md5)
-    digest_size = APR_MD5_DIGESTSIZE;
-  else if(fingerprint->kind == svn_checksum_sha1)
-    digest_size = APR_SHA1_DIGESTSIZE;
-  else
-    return NULL;
-
-  buf = svn_stringbuf_create_ensure(digest_size * 3, pool);
-
-  for (i = 0; i < digest_size; i++)
-    {
-      if (i > 0)
-        svn_stringbuf_appendbyte(buf, ':');
-
-      svn_stringbuf_appendbyte(buf, hex[fingerprint->digest[i] >> 4]);
-      svn_stringbuf_appendbyte(buf, hex[fingerprint->digest[i] & 0x0f]);
-    }
-
-  return buf->data;
-}
+const char *
+svn_x509_fingerprint_to_display(const svn_checksum_t *fingerprint,
+                                apr_pool_t *pool)
+{
+  static const char *hex = "0123456789ABCDEF";
+  apr_size_t digest_size;
+  apr_size_t i;
+  svn_stringbuf_t *buf;
+
+  if (fingerprint->kind == svn_checksum_md5)
+    digest_size = APR_MD5_DIGESTSIZE;
+  else if(fingerprint->kind == svn_checksum_sha1)
+    digest_size = APR_SHA1_DIGESTSIZE;
+  else
+    return NULL;
+
+  buf = svn_stringbuf_create_ensure(digest_size * 3, pool);
+
+  for (i = 0; i < digest_size; i++)
+    {
+      if (i > 0)
+        svn_stringbuf_appendbyte(buf, ':');
+
+      svn_stringbuf_appendbyte(buf, hex[fingerprint->digest[i] >> 4]);
+      svn_stringbuf_appendbyte(buf, hex[fingerprint->digest[i] & 0x0f]);
+    }
+
+  return buf->data;
+}

Propchange: subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509info.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: subversion/branches/svn-auth-x509/subversion/tests/libsvn_subr/x509-test.c
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message