summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_r2x.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-05-01 18:08:44 +0000
committerBen Laurie <ben@openssl.org>1999-05-01 18:08:44 +0000
commitd500de16725216503786dba48db519d3031614e7 (patch)
tree477465faf77c13ed41f53ebb656fd93f9026b2a6 /crypto/x509/x509_r2x.c
parentb3ca645f479b1f0bcfa1d1a65c955e8b7ff33de6 (diff)
Another stack.
Diffstat (limited to 'crypto/x509/x509_r2x.c')
-rw-r--r--crypto/x509/x509_r2x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_r2x.c b/crypto/x509/x509_r2x.c
index ec92d2f8a8..bb4697ae60 100644
--- a/crypto/x509/x509_r2x.c
+++ b/crypto/x509/x509_r2x.c
@@ -80,7 +80,7 @@ X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey)
/* duplicate the request */
xi=ret->cert_info;
- if (sk_num(r->req_info->attributes) != 0)
+ if (sk_X509_ATTRIBUTE_num(r->req_info->attributes) != 0)
{
if ((xi->version=ASN1_INTEGER_new()) == NULL) goto err;
if (!ASN1_INTEGER_set(xi->version,2)) goto err;