diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-01-12 00:24:28 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-01-12 00:24:28 +0100 |
commit | adf87b2df5bb8038f12947cdc97e2eaa52eb6e8b (patch) | |
tree | a2537d42a3f58548e971e67cc0376dcfffafac25 /crypto/asn1 | |
parent | Remove "AVAILABLE PATCH" that has now been applied. (diff) | |
download | openssl-adf87b2df5bb8038f12947cdc97e2eaa52eb6e8b.tar.xz openssl-adf87b2df5bb8038f12947cdc97e2eaa52eb6e8b.zip |
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/asn1')
-rw-r--r-- | crypto/asn1/x_name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/x_name.c b/crypto/asn1/x_name.c index 5da0669492..60b067611c 100644 --- a/crypto/asn1/x_name.c +++ b/crypto/asn1/x_name.c @@ -245,7 +245,7 @@ int X509_NAME_set(X509_NAME **xn, X509_NAME *name) { X509_NAME *in; - if (*xn == NULL) return(0); + if (!xn || !name) return(0); if (*xn != name) { |