diff options
author | Richard Levitte <levitte@openssl.org> | 2006-03-31 12:25:24 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2006-03-31 12:25:24 +0000 |
commit | d6091d5a39afa5a09ddb81da6918fad316e02c50 (patch) | |
tree | 01a0e6eca0251e2c519774cd2f357fe0c10cda63 /crypto | |
parent | 5a47825ece3503346a0d2825e770e02fe08cfd76 (diff) |
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')
-rw-r--r-- | crypto/ts/ts_asn1.c | 5 |
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); |