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 9245bfd9f5d2a04f34fa9a4e22ee361f584fa04f..ef5c2b9a449ef998f5ec3ee7854b1c8e906f6ea7 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,