summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_crl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/x_crl.c')
-rw-r--r--src/lib/libcrypto/asn1/x_crl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/x_crl.c b/src/lib/libcrypto/asn1/x_crl.c
index 0837ec15be..bc1783dbfb 100644
--- a/src/lib/libcrypto/asn1/x_crl.c
+++ b/src/lib/libcrypto/asn1/x_crl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_crl.c,v 1.33 2018/08/24 19:55:58 tb Exp $ */ 1/* $OpenBSD: x_crl.c,v 1.34 2019/03/13 20:34:00 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -527,9 +527,7 @@ X509_CRL_dup(X509_CRL *x)
527static int 527static int
528X509_REVOKED_cmp(const X509_REVOKED * const *a, const X509_REVOKED * const *b) 528X509_REVOKED_cmp(const X509_REVOKED * const *a, const X509_REVOKED * const *b)
529{ 529{
530 return(ASN1_STRING_cmp( 530 return(ASN1_INTEGER_cmp((*a)->serialNumber, (*b)->serialNumber));
531 (ASN1_STRING *)(*a)->serialNumber,
532 (ASN1_STRING *)(*b)->serialNumber));
533} 531}
534 532
535int 533int