@@ -2344,7 +2344,7 @@ protected synchronized void finalize() throws Throwable {
23442344 * wolfSSL send callback context, used with SocketSendCallback to
23452345 * gain access to the underlying Socket object.
23462346 */
2347- class SocketSendCtx {
2347+ static class SocketSendCtx {
23482348 private Socket sock = null ;
23492349
23502350 public SocketSendCtx (Socket s ) {
@@ -2360,7 +2360,7 @@ public Socket getSocket() {
23602360 * wolfSSL receive callback context, used with SocketRecvCallback to
23612361 * gain access to the underlying Socket object.
23622362 */
2363- class SocketRecvCtx {
2363+ static class SocketRecvCtx {
23642364 private Socket sock = null ;
23652365
23662366 public SocketRecvCtx (Socket s ) {
@@ -2381,7 +2381,7 @@ public Socket getSocket() {
23812381 * subclasses contain an internal file descriptor (fd), or alternatively
23822382 * expect the calling application to do I/O using the InputStream and
23832383 * OutputStream of the Socket */
2384- class SocketSendCallback implements WolfSSLIOSendCallback {
2384+ static class SocketSendCallback implements WolfSSLIOSendCallback {
23852385
23862386 /**
23872387 * I/O send callback method.
@@ -2439,7 +2439,7 @@ public int sendCallback(WolfSSLSession ssl,
24392439 * subclasses contain an internal file descriptor (fd), or alternatively
24402440 * expect the calling application to do I/O using the InputStream and
24412441 * OutputStream of the Socket */
2442- class SocketRecvCallback implements WolfSSLIORecvCallback {
2442+ static class SocketRecvCallback implements WolfSSLIORecvCallback {
24432443
24442444 /**
24452445 * I/O receive callback method.
@@ -2500,7 +2500,7 @@ public int receiveCallback(WolfSSLSession ssl,
25002500 * wolfSSL receive callback context, used with ConsumedRecvCallback to
25012501 * gain access to underlying Socket and InputStream objects.
25022502 */
2503- class ConsumedRecvCtx {
2503+ static class ConsumedRecvCtx {
25042504 private Socket s = null ;
25052505 private DataInputStream consumed = null ;
25062506 private DataInputStream sockStream = null ;
@@ -2547,7 +2547,7 @@ public synchronized void closeDataStreams()
25472547 * This callback will read all data from the pre-existing/populated
25482548 * InputStream first, then start reading from the Socket proper.
25492549 */
2550- class ConsumedRecvCallback implements WolfSSLIORecvCallback {
2550+ static class ConsumedRecvCallback implements WolfSSLIORecvCallback {
25512551
25522552 public int receiveCallback (WolfSSLSession ssl , byte [] buf ,
25532553 int sz , Object ctx ) {
@@ -2592,7 +2592,7 @@ public int receiveCallback(WolfSSLSession ssl, byte[] buf,
25922592 }
25932593 }
25942594
2595- class WolfSSLInputStream extends InputStream {
2595+ static class WolfSSLInputStream extends InputStream {
25962596
25972597 private WolfSSLSession ssl ;
25982598 private WolfSSLSocket socket ;
@@ -2834,7 +2834,7 @@ public synchronized int read(byte[] b, int off, int len)
28342834 }
28352835 } /* end WolfSSLInputStream inner class */
28362836
2837- class WolfSSLOutputStream extends OutputStream {
2837+ static class WolfSSLOutputStream extends OutputStream {
28382838
28392839 private WolfSSLSession ssl ;
28402840 private WolfSSLSocket socket ;
0 commit comments