#include #include #include #include #include #include #include #include #include #include #include #include "cse.h" #include "resin.h" int ssl_create(server_socket_t *ss, ssl_config_t *config) { return 0; } JNIEXPORT jint JNICALL Java_com_caucho_vfs_QJniSocket_getClientCert(JNIEnv *env, jobject obj, jint fd, jbyteArray buf, jint offset, jint length) { return 0; } JNIEXPORT jint JNICALL Java_com_caucho_vfs_OpenSSLFactory_initConfig(JNIEnv *env, jobject obj, jstring jCertificateFile, jstring jKeyFile, jstring jPassword, jstring jCertificateChainFile, jstring jCaCertificatePath, jstring jCaCertificateFile, jstring jCaRevocationPath, jstring jCaRevocationFile, jstring jCipherSuite, jint protocol) { resin_printf_exception(env, "com/caucho/config/ConfigException", "The resinssl library was not configured for OpenSSL. It has been stubbed out instead. Please check the ./configure; make logs."); return 0; } JNIEXPORT void JNICALL Java_com_caucho_vfs_OpenSSLFactory_setVerify(JNIEnv *env, jobject obj, jint p_config, jstring jVerifyClient, jint jVerifyDepth) { } JNIEXPORT void JNICALL Java_com_caucho_vfs_OpenSSLFactory_setSessionCache(JNIEnv *env, jobject obj, jint p_config, jboolean enable, jint timeout) { } JNIEXPORT void JNICALL Java_com_caucho_vfs_OpenSSLFactory_nativeInit(JNIEnv *env, jobject obj, jint p_config) { } /** * Needs to match ssl_stub.c */ JNIEXPORT int JNICALL Java_com_caucho_vfs_OpenSSLFactory_open(JNIEnv *env, jobject obj, int fd, int p_config) { resin_printf_exception(env, "java/io/IOException", "The resinssl library was not configured for OpenSSL. It has been stubbed out instead. Please check the ./configure; make logs."); return 0; }