summaryrefslogtreecommitdiffstats
path: root/openssl
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-04-16 17:44:12 -0700
committerElliott Hughes <enh@google.com>2010-04-16 17:44:12 -0700
commitc08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8 (patch)
treecc325048a7dc4cb15eb2f39244c3b881b284644d /openssl
parent757a7942eed2b0aa457f8517a0259d2ac82c5b18 (diff)
downloadlibcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.zip
libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.gz
libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.bz2
Move the libcore registration out of libnativehelpers and into libcore.
Bug: 754114 Change-Id: Iaa03def509c10cbaa12fd2128584b93d4be4a6b7
Diffstat (limited to 'openssl')
-rw-r--r--openssl/src/main/native/BNInterface.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/openssl/src/main/native/BNInterface.c b/openssl/src/main/native/BNInterface.c
index 8ac2395..07f0288 100644
--- a/openssl/src/main/native/BNInterface.c
+++ b/openssl/src/main/native/BNInterface.c
@@ -650,12 +650,6 @@ static jboolean NativeBN_BN_is_prime_ex(JNIEnv* env, jclass cls, BIGNUM* p, int
return BN_is_prime_ex(p, nchecks, ctx, (BN_GENCB*) cb);
}
-
-/**
- * Defines the mapping from Java methods and their signatures
- * to native functions. Order is Java name, Java signature,
- * then pointer to C function.
- */
static JNINativeMethod METHODS[] = {
{ "ERR_get_error", "()I", (void*)NativeBN_ERR_get_error },
{ "ERR_error_string", "(I)Ljava/lang/String;", (void*)NativeBN_ERR_error_string },
@@ -699,7 +693,6 @@ static JNINativeMethod METHODS[] = {
{ "BN_generate_prime_ex", "(IIZIII)Z", (void*)NativeBN_BN_generate_prime_ex },
{ "BN_is_prime_ex", "(IIII)Z", (void*)NativeBN_BN_is_prime_ex }
};
-
int register_org_openssl_NativeBN(JNIEnv* env) {
return jniRegisterNativeMethods(env, "org/openssl/NativeBN", METHODS, NELEM(METHODS));
}