Fix from main trunk, 2000-10-15 01:51 steve:
Fix for typo in certificate directory lookup code.
This commit is contained in:
parent
b3f4fb1f72
commit
bee4756251
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
CHANGES
|
@ -4,6 +4,9 @@
|
||||||
|
|
||||||
Changes between 0.9.6 and 0.9.6a [xx XXX 2000]
|
Changes between 0.9.6 and 0.9.6a [xx XXX 2000]
|
||||||
|
|
||||||
|
*) Fix typo in get_cert_by_subject() in by_dir.c
|
||||||
|
[Jean-Marc Desperrier <jean-marc.desperrier@certplus.com>]
|
||||||
|
|
||||||
*) Fix SSL_CTX_set_read_ahead macro to actually use its argument.
|
*) Fix SSL_CTX_set_read_ahead macro to actually use its argument.
|
||||||
|
|
||||||
Copy SSL_CTX's read_ahead flag to SSL object directly in SSL_new
|
Copy SSL_CTX's read_ahead flag to SSL object directly in SSL_new
|
||||||
|
|
|
@ -327,7 +327,7 @@ static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name,
|
||||||
* it out again */
|
* it out again */
|
||||||
CRYPTO_r_lock(CRYPTO_LOCK_X509_STORE);
|
CRYPTO_r_lock(CRYPTO_LOCK_X509_STORE);
|
||||||
j = sk_X509_OBJECT_find(xl->store_ctx->objs,&stmp);
|
j = sk_X509_OBJECT_find(xl->store_ctx->objs,&stmp);
|
||||||
if(j != -1) tmp=sk_X509_OBJECT_value(xl->store_ctx->objs,i);
|
if(j != -1) tmp=sk_X509_OBJECT_value(xl->store_ctx->objs,j);
|
||||||
else tmp = NULL;
|
else tmp = NULL;
|
||||||
CRYPTO_r_unlock(CRYPTO_LOCK_X509_STORE);
|
CRYPTO_r_unlock(CRYPTO_LOCK_X509_STORE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue