https://bz.apache.org/bugzilla/show_bug.cgi?id=66666

            Bug ID: 66666
           Summary: Remove non-reachable functions from ssl.c
           Product: Tomcat Native
           Version: 2.0.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
          Assignee: dev@tomcat.apache.org
          Reporter: micha...@apache.org
  Target Milestone: ---

The following methods have been deprecated from its Java counterpart SSL.java,
but have never been removed from ssl.c:

    @Deprecated
    public static native boolean randLoad(String filename);
    @Deprecated
    public static native boolean randSave(String filename);
    @Deprecated
    public static native boolean randMake(String filename, int len,
                                          boolean base64);
    @Deprecated
    public static native long newBIO(long pool, BIOCallback callback)
            throws Exception;
    @Deprecated
    public static native int closeBIO(long bio);
    @Deprecated
    public static native void setPasswordCallback(PasswordCallback callback);
    @Deprecated
    public static native void setPassword(String password);
    @Deprecated
    public static native String getLastError();
    @Deprecated
    public static native boolean hasOp(int op);
    @Deprecated
    public static native void setBIO(long ssl, long rbio, long wbio);
    @Deprecated
    public static native int getError(long ssl, int ret);
    @Deprecated
    public static native void setShutdown(long ssl, int mode);
    @Deprecated
    public static native String getNextProtoNegotiated(long ssl);

I believe we can safely remove the C code from ssl.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to