projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
895d072
)
2002/04/27 04:11:18
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:45:26 +0000
(06:45 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:45:26 +0000
(06:45 +0000)
darcs-hash:
20040130064526
-2ba56-
83db6f917f78d6a83e4a59d2e5d8162fb04f6549
.gz
CHANGES
patch
|
blob
|
history
src/org/xwt/TinySSL.java
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index
074f9b3
..
7fd9de7
100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-41,6
+41,10
@@
26-Apr megacz src/org/xwt/XWT.java: fixed bug 53
26-Apr megacz src/org/xwt/XWT.java: fixed bug 53
+26-Apr megacz src/org/xwt/TinySSL.java: fixed PKCS1 bug
+
+
+
diff --git
a/src/org/xwt/TinySSL.java
b/src/org/xwt/TinySSL.java
index
516fee6
..
41e83a1
100644
(file)
--- a/
src/org/xwt/TinySSL.java
+++ b/
src/org/xwt/TinySSL.java
@@
-1532,7
+1532,7
@@
public class TinySSL extends Socket {
}
public int getInputBlockSize() { return engine.getInputBlockSize() - (forEncryption ? HEADER_LENGTH : 0); }
}
public int getInputBlockSize() { return engine.getInputBlockSize() - (forEncryption ? HEADER_LENGTH : 0); }
- public int getOutputBlockSize() { return engine.getInputBlockSize() - (forEncryption ? 0 : HEADER_LENGTH); }
+ public int getOutputBlockSize() { return engine.getOutputBlockSize() - (forEncryption ? 0 : HEADER_LENGTH); }
public byte[] processBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException {
return forEncryption ? encodeBlock(in, inOff, inLen) : decodeBlock(in, inOff, inLen);
public byte[] processBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException {
return forEncryption ? encodeBlock(in, inOff, inLen) : decodeBlock(in, inOff, inLen);