diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-01-11 23:24:28 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-01-11 23:24:28 +0000 |
commit | adf87b2df5bb8038f12947cdc97e2eaa52eb6e8b (patch) | |
tree | a2537d42a3f58548e971e67cc0376dcfffafac25 /crypto/ocsp/ocsp_ht.c | |
parent | 40753f760d312c38496726e82def9e99305bdf1e (diff) | |
download | openssl-adf87b2df5bb8038f12947cdc97e2eaa52eb6e8b.tar.gz |
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_ht.c')
-rw-r--r-- | crypto/ocsp/ocsp_ht.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ocsp/ocsp_ht.c b/crypto/ocsp/ocsp_ht.c index 58774b3f46..a0fd825dbf 100644 --- a/crypto/ocsp/ocsp_ht.c +++ b/crypto/ocsp/ocsp_ht.c @@ -80,8 +80,8 @@ OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, char *path, OCSP_REQUEST *req) int len, retcode; static char req_txt[] = "POST %s HTTP/1.0\r\n\ -Content-Type:application/ocsp-request\r\n\ -Content-length: %d\r\n\r\n"; +Content-Type: application/ocsp-request\r\n\ +Content-Length: %d\r\n\r\n"; len = i2d_OCSP_REQUEST(req, NULL); if(BIO_printf(b, req_txt, path, len) < 0) { |