Typo.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 12 Feb 2008 01:24:50 +0000 (01:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 12 Feb 2008 01:24:50 +0000 (01:24 +0000)
crypto/x509/x509_att.c

index 9245bfd..ef5c2b9 100644 (file)
@@ -206,7 +206,7 @@ void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x,
        at = X509at_get_attr(x, i);
        if (lastpos <= -3 && (X509_ATTRIBUTE_count(at) != 1))
                return NULL;
-       return X509_ATTRIBUTE_get0_data(at, type, 0, NULL);
+       return X509_ATTRIBUTE_get0_data(at, 0, type, NULL);
 }
 
 X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,