diff --git a/src/tlsrequest.c b/src/tlsrequest.c

index 240b618..22fb215 100644

--- a/src/tlsrequest.c

+++ b/src/tlsrequest.c

@@ -333,10 +333,10 @@ iTlsCertificate *newSelfSignedRSA_TlsCertificate(

     X509_NAME_free(subject);

 }

 /* Valid from. */ {

- ASN1_TIME *notBefore = ASN1_TIME_new();

- ASN1_TIME_set(notBefore, time(NULL));

+ ASN1_UTCTIME *notBefore = ASN1_UTCTIME_new();

+ ASN1_UTCTIME_set(notBefore, time(NULL));

     X509_set1_notBefore(d->cert, notBefore);

- ASN1_TIME_free(notBefore);

+ ASN1_UTCTIME_free(notBefore);

 }

 /* Valid until. */ {

     ASN1_TIME *notAfter = ASN1_TIME_new();

Proxy Information
Original URL
gemini://git.skyjake.fi/the_Foundation/main/pcdiff/4211f2e22935634e1dac679644941744c610385f
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
34.792962 milliseconds
Gemini-to-HTML Time
0.477311 milliseconds

This content has been proxied by September (ba2dc).