---
lib/coding.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/coding.c b/lib/coding.c
index 15c87d3..34a204b 100644
--- a/lib/coding.c
+++ b/lib/coding.c
@@ -925,7 +925,7 @@ _asn1_ordering_set_of (unsigned char *der, int der_len,
asn1_node node)
counter = 0;
while (p2_vet)
{
- if ((p_vet->end - counter) > (p2_vet->end - p_vet->end))
+ if ((p_vet->end - counter) < (p2_vet->end - p_vet->end))
max = p_vet->end - counter;
else
max = p2_vet->end - p_vet->end;
--
1.9.2- [PATCH] Use the smallest of the 2 lengths for the ... Kurt Roeckx
- Re: [PATCH] Use the smallest of the 2 lengths... Nikos Mavrogiannopoulos
- Re: [PATCH] Use the smallest of the 2 len... Kurt Roeckx
- Re: [PATCH] Use the smallest of the 2... Nikos Mavrogiannopoulos
- Re: [PATCH] Use the smallest of t... Kurt Roeckx
- Re: [PATCH] Use the smallest... Kurt Roeckx
- Re: [PATCH] Use the smal... Nikos Mavrogiannopoulos
