vanzin commented on a change in pull request #92: OpenSSL 1.1.0 updates with backward compatibility for OpenSSL 1.0.2 and 1.0.1 URL: https://github.com/apache/commons-crypto/pull/92#discussion_r244817336
########## File path: src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java ########## @@ -53,4 +53,14 @@ public static Throwable initialisationError() { return OpenSslNativeJna.INIT_ERROR; } + /** + * Retrieves version/build information about OpenSSL library. + * + * @param type type can be OPENSSL_VERSION, OPENSSL_CFLAGS, OPENSSL_BUILT_ON... + * @return A pointer to a constant string describing the version of the + * OpenSSL library or giving information about the library build. + */ + public static String OpenSSLVersion(int type) { Review comment: I'd rather not expose more public methods unless there's a real need for them. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org