aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ts
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2006-03-31 12:25:24 +0000
committerRichard Levitte <levitte@openssl.org>2006-03-31 12:25:24 +0000
commitd6091d5a39afa5a09ddb81da6918fad316e02c50 (patch)
tree01a0e6eca0251e2c519774cd2f357fe0c10cda63 /crypto/ts
parent5a47825ece3503346a0d2825e770e02fe08cfd76 (diff)
downloadopenssl-d6091d5a39afa5a09ddb81da6918fad316e02c50.tar.gz
If we declare a function, like d2i_TS_MSG_IMPRINT_bio(), we'd better
*define* it too, or things like shared libraries might be a bit sad.
Diffstat (limited to 'crypto/ts')
-rw-r--r--crypto/ts/ts_asn1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ts/ts_asn1.c b/crypto/ts/ts_asn1.c
index f68650595b..86d78dc472 100644
--- a/crypto/ts/ts_asn1.c
+++ b/crypto/ts/ts_asn1.c
@@ -67,6 +67,11 @@ ASN1_SEQUENCE(TS_MSG_IMPRINT) = {
IMPLEMENT_ASN1_FUNCTIONS_const(TS_MSG_IMPRINT)
IMPLEMENT_ASN1_DUP_FUNCTION(TS_MSG_IMPRINT)
#ifndef OPENSSL_NO_BIO
+TS_MSG_IMPRINT *d2i_TS_MSG_IMPRINT_bio(BIO *bp, TS_MSG_IMPRINT **a)
+ {
+ return ASN1_d2i_bio_of(TS_MSG_IMPRINT, TS_MSG_IMPRINT_new, d2i_TS_MSG_IMPRINT, bp, a);
+ }
+
int i2d_TS_MSG_IMPRINT_bio(BIO *bp, TS_MSG_IMPRINT *a)
{
return ASN1_i2d_bio_of_const(TS_MSG_IMPRINT, i2d_TS_MSG_IMPRINT, bp, a);