On Wed, Jun 11, 2014 at 06:56:00PM +0100, Jeremy Harris wrote:
> /usr/include/openssl/asn1.h:int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a);
>
> on f20. There's no particular version number obvious in the file
> but it does have a copyright 1995-1998. What do you have?
This changed between 0.9.8 and 1.0.0.
commit 6c73d01142fa8eb450a16f1f2e81ae2a2681c109
Author: Nils Larsch <nils@???>
Date: Sun Mar 5 20:19:05 2006 +0000
constify some print and ts functions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index 9f6e1b9..24fa436 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -940,10 +940,10 @@ int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char
#define ASN1_i2d_bio_of_const(type,i2d,out,x) \
((int (*)(I2D_OF_const(type),BIO *,const type *))openssl_fcast(ASN1_i2d_
int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x);
-int ASN1_UTCTIME_print(BIO *fp,ASN1_UTCTIME *a);
-int ASN1_GENERALIZEDTIME_print(BIO *fp,ASN1_GENERALIZEDTIME *a);
-int ASN1_TIME_print(BIO *fp,ASN1_TIME *a);
-int ASN1_STRING_print(BIO *bp,ASN1_STRING *v);
+int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
+int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a);
+int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a);
+int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags);
int ASN1_parse(BIO *bp,const unsigned char *pp,long len,int indent);
int ASN1_parse_dump(BIO *bp,const unsigned char *pp,long len,int indent,int dum