Fix incorrect conversion getQDT

pull/1/head
Timothy Pearson 13 years ago
parent 4194db6598
commit 7d9a33b4fe

@ -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);
}

@ -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);

@ -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

Loading…
Cancel
Save