From 7d9a33b4fe664bd0b49aa31d77f936318ae26159 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Dec 2011 01:40:24 -0600 Subject: [PATCH] Fix incorrect conversion getQDT --- kdejava/koala/kdejava/KSSLCertificate.cpp | 4 ++-- kdejava/koala/kdejava/KSSLCertificate.h | 2 +- kdejava/koala/org/kde/koala/KSSLCertificate.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kdejava/koala/kdejava/KSSLCertificate.cpp b/kdejava/koala/kdejava/KSSLCertificate.cpp index 0ab55848..e28fa592 100644 --- a/kdejava/koala/kdejava/KSSLCertificate.cpp +++ b/kdejava/koala/kdejava/KSSLCertificate.cpp @@ -138,10 +138,10 @@ Java_org_kde_koala_KSSLCertificate_getPublicKeyText(JNIEnv* env, jobject obj) } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_getTQDTNotAfter(JNIEnv* env, jobject obj) +Java_org_kde_koala_KSSLCertificate_getQDTNotAfter(JNIEnv* env, jobject obj) { TQDateTime _qdate; - _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getTQDTNotAfter(); + _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getQDTNotAfter(); return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); } diff --git a/kdejava/koala/kdejava/KSSLCertificate.h b/kdejava/koala/kdejava/KSSLCertificate.h index 48fa6803..010671ab 100644 --- a/kdejava/koala/kdejava/KSSLCertificate.h +++ b/kdejava/koala/kdejava/KSSLCertificate.h @@ -16,7 +16,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getIssuer (J extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotBefore (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotAfter (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotBefore (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getTQDTNotAfter (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotAfter (JNIEnv *env, jobject); extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toDer (JNIEnv *env, jobject); extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toPem (JNIEnv *env, jobject); extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toNetscape (JNIEnv *env, jobject); diff --git a/kdejava/koala/org/kde/koala/KSSLCertificate.java b/kdejava/koala/org/kde/koala/KSSLCertificate.java index 445ad63a..61bd69f5 100644 --- a/kdejava/koala/org/kde/koala/KSSLCertificate.java +++ b/kdejava/koala/org/kde/koala/KSSLCertificate.java @@ -102,7 +102,7 @@ public class KSSLCertificate implements QtSupport { @short Get the date that the certificate is valid until. */ - public native Calendar getTQDTNotAfter(); + public native Calendar getQDTNotAfter(); /** Convert the certificate to DER (ASN.1) format. @return the binary data of the DER encoding