projects
/
org.ibex.crypto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
59803c6
)
remove debuggin info
author
brian
<brian@brianweb.net>
Wed, 28 Jul 2004 12:00:51 +0000
(12:00 +0000)
committer
brian
<brian@brianweb.net>
Wed, 28 Jul 2004 12:00:51 +0000
(12:00 +0000)
darcs-hash:
20040728120051
-24bed-
010d17b608a5295dcce166cc0c7a597237900184
.gz
src/org/ibex/net/SSL.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/net/SSL.java
b/src/org/ibex/net/SSL.java
index
6379db3
..
37f7f8b
100644
(file)
--- a/
src/org/ibex/net/SSL.java
+++ b/
src/org/ibex/net/SSL.java
@@
-547,17
+547,6
@@
public class SSL extends Socket {
}
}
}
}
- public static char[] hexDigit = new char[] { '0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f' };
- public static String hex(byte[] b, int len) {
- StringBuffer sb = new StringBuffer(len);
- for(int i=0;i<len;i++) {
- if((i%8)==0) sb.append("\n");
- else if(i!=0) sb.append(":");
- sb.append(hexDigit[(b[i]&0xf0)>>4]).append(hexDigit[b[i]&0xf]);
- }
- return sb.toString();
- }
-
private byte[] readHandshake() throws IOException {
if(handshakeDataLength == 0) {
handshakeDataStart = 0;
private byte[] readHandshake() throws IOException {
if(handshakeDataLength == 0) {
handshakeDataStart = 0;