aboutsummaryrefslogtreecommitdiff
path: root/openssl/trunk/crypto
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-07-22 03:14:27 +0000
committerRob Austein <sra@hactrn.net>2006-07-22 03:14:27 +0000
commitecf2da53a0e5d376bbda8e823d2457c9962cbbaa (patch)
tree094ccfe015448fef31ff8aca053a66b2904b4861 /openssl/trunk/crypto
parent3ac6472ed22e7efdf5be200fb4a26b526b4a132d (diff)
FIx pointer mismatches.
svn path=/openssl/trunk/crypto/x509v3/v3_asid.c; revision=41
Diffstat (limited to 'openssl/trunk/crypto')
-rw-r--r--openssl/trunk/crypto/x509v3/v3_asid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openssl/trunk/crypto/x509v3/v3_asid.c b/openssl/trunk/crypto/x509v3/v3_asid.c
index 39dce322..9a3b6122 100644
--- a/openssl/trunk/crypto/x509v3/v3_asid.c
+++ b/openssl/trunk/crypto/x509v3/v3_asid.c
@@ -126,9 +126,11 @@ static int i2r_ASIdentifiers(X509V3_EXT_METHOD *method,
* Comparision function for stack sorting.
*/
-static int ASIdOrRange_cmp(const ASIdOrRange * const *a,
- const ASIdOrRange * const *b)
+static int ASIdOrRange_cmp(const ASIdOrRange * const *a_,
+ const ASIdOrRange * const *b_)
{
+ const ASIdOrRange *a = *a_, *b = *b_;
+
assert((a->type == ASIdOrRange_id && a->u.id != NULL) ||
(a->type == ASIdOrRange_range && a->u.range != NULL &&
a->u.range->min != NULL && a->u.range->max != NULL));