Skip to content

Commit 1906b96

Browse files
committed
Remove duplicate SNI declarations after upstream merge
1 parent 435d8fb commit 1906b96

2 files changed

Lines changed: 0 additions & 30 deletions

File tree

native/com_wolfssl_WolfSSL.h

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/java/com/wolfssl/WolfSSL.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,28 +1887,6 @@ public static int cryptoCbUnRegisterDevice(int devId) {
18871887
*/
18881888
public static native int getErrno();
18891889

1890-
/**
1891-
* Extract the requested SNI value from a serialized Client Hello.
1892-
*
1893-
* @param clientHello raw Client Hello message bytes
1894-
* @param type SNI type to retrieve, typically
1895-
* {@link #WOLFSSL_SNI_HOST_NAME}
1896-
* @param sni output buffer where SNI value will be written. On
1897-
* success, the SNI data will be placed at the beginning
1898-
* of this array.
1899-
*
1900-
* @return number of bytes written into sni on success, 0 if no SNI
1901-
* extension was found in Client Hello, {@link #NOT_COMPILED_IN} if
1902-
* native wolfSSL was compiled without SNI support, negative value
1903-
* on error.
1904-
* @throws IllegalArgumentException if clientHello or sni is null
1905-
* @throws WolfSSLException if native wolfSSL_SNI_GetFromBuffer() call
1906-
* fails with a negative error code
1907-
*/
1908-
public static native int getSNIFromBuffer(byte[] clientHello,
1909-
byte type, byte[] sni) throws IllegalArgumentException,
1910-
WolfSSLException;
1911-
19121890
/**
19131891
* Gets the internal wolfSSL named group enum matching provided string.
19141892
*

0 commit comments

Comments
 (0)