21 lines
825 B
Text
21 lines
825 B
Text
$NetBSD: patch-ab,v 1.1 2006/01/20 22:09:11 wiz Exp $
|
|
|
|
--- SWIG/_asn1.i.orig 2004-03-21 12:34:38.000000000 +0000
|
|
+++ SWIG/_asn1.i
|
|
@@ -3,6 +3,7 @@
|
|
|
|
%{
|
|
#include <openssl/asn1.h>
|
|
+#include <time.h>
|
|
%}
|
|
|
|
%apply Pointer NONNULL { BIO * };
|
|
@@ -25,7 +26,7 @@
|
|
%name(asn1_utctime_new) extern ASN1_UTCTIME *ASN1_UTCTIME_new( void );
|
|
%name(asn1_utctime_free) extern void ASN1_UTCTIME_free(ASN1_UTCTIME *);
|
|
%name(asn1_utctime_check) extern int ASN1_UTCTIME_check(ASN1_UTCTIME *);
|
|
-%name(asn1_utctime_set) extern ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *, long);
|
|
+%name(asn1_utctime_set) extern ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *, time_t);
|
|
%name(asn1_utctime_set_string) extern int ASN1_UTCTIME_set_string(ASN1_UTCTIME *, char *);
|
|
%name(asn1_utctime_print) extern int ASN1_UTCTIME_print(BIO *, ASN1_UTCTIME *);
|
|
|