author | krishna |
Mon, 02 Apr 2007 22:01:43 -0700 | |
changeset 3958 | a3a5c9bc5256 |
parent 3957 | 86c9dda5df37 |
child 3959 | 9962881f8438 |
usr/src/lib/libkmf/plugins/kmf_openssl/common/openssl_spi.c | file | annotate | diff | comparison | revisions |
--- a/usr/src/lib/libkmf/plugins/kmf_openssl/common/openssl_spi.c Mon Apr 02 21:38:04 2007 -0700 +++ b/usr/src/lib/libkmf/plugins/kmf_openssl/common/openssl_spi.c Mon Apr 02 22:01:43 2007 -0700 @@ -3682,7 +3682,7 @@ /*LINTED*/ while ((info = sk_X509_INFO_pop(x509_info_stack)) != NULL && - ncerts < MAX_CHAIN_LENGTH) { + info->x509 != NULL && ncerts < MAX_CHAIN_LENGTH) { cert_infos[ncerts] = info; ncerts++; }