summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp/ocsp_asn.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-01-11 23:24:28 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-01-11 23:24:28 +0000
commitadf87b2df5bb8038f12947cdc97e2eaa52eb6e8b (patch)
treea2537d42a3f58548e971e67cc0376dcfffafac25 /crypto/ocsp/ocsp_asn.c
parent40753f760d312c38496726e82def9e99305bdf1e (diff)
Fix typo in OCSP ASN1 module, this caused
invalid format in OCSP request signatures. Add spaces to OCSP HTTP header. Change X509_NAME_set() there's no reason why it should return an error if the destination points to NULL... though it should if the destination is NULL.
Diffstat (limited to 'crypto/ocsp/ocsp_asn.c')
-rw-r--r--crypto/ocsp/ocsp_asn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ocsp/ocsp_asn.c b/crypto/ocsp/ocsp_asn.c
index cfe3118dc7..0616b0ebe5 100644
--- a/crypto/ocsp/ocsp_asn.c
+++ b/crypto/ocsp/ocsp_asn.c
@@ -62,7 +62,7 @@
ASN1_SEQUENCE(OCSP_SIGNATURE) = {
ASN1_SIMPLE(OCSP_SIGNATURE, signatureAlgorithm, X509_ALGOR),
ASN1_SIMPLE(OCSP_SIGNATURE, signature, ASN1_BIT_STRING),
- ASN1_SEQUENCE_OF(OCSP_SIGNATURE, certs, X509)
+ ASN1_EXP_SEQUENCE_OF(OCSP_SIGNATURE, certs, X509, 0)
} ASN1_SEQUENCE_END(OCSP_SIGNATURE);
IMPLEMENT_ASN1_FUNCTIONS(OCSP_SIGNATURE)