Bitwise-or, not logical-or, when hashing.

This didn't actually break anything, but it does make session lookup
quite slow.

Change-Id: I13615e8ccf6a46683a21774eb7c073318ae8c28c
Reviewed-on: https://boringssl-review.googlesource.com/6054
Reviewed-by: Matt Braithwaite <mab@google.com>
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 5190a53..25d65c1 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -183,9 +183,9 @@
 
 static uint32_t ssl_session_hash(const SSL_SESSION *a) {
   uint32_t hash =
-      ((uint32_t)a->session_id[0]) ||
-      ((uint32_t)a->session_id[1] << 8) ||
-      ((uint32_t)a->session_id[2] << 16) ||
+      ((uint32_t)a->session_id[0]) |
+      ((uint32_t)a->session_id[1] << 8) |
+      ((uint32_t)a->session_id[2] << 16) |
       ((uint32_t)a->session_id[3] << 24);
 
   return hash;