From: Dr. Stephen Henson Date: Mon, 18 Mar 2013 13:58:32 +0000 (+0000) Subject: Typo. X-Git-Tag: master-pre-reformat~1334 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e24fd37cdad7cc80b4086fb3a0c43e0353ff6204;p=openssl Typo. (cherry picked from commit 1546fb780bc11556a18d70c5fb29af4a9d5beaff) --- diff --git a/demos/x509/mkreq.c b/demos/x509/mkreq.c index d17e4ade94..d1cba9dc5a 100644 --- a/demos/x509/mkreq.c +++ b/demos/x509/mkreq.c @@ -7,13 +7,14 @@ #include #include +#include #include #ifndef OPENSSL_NO_ENGINE #include #endif int mkreq(X509_REQ **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days); -int add_ext(STACK_OF(X509_REQUEST) *sk, int nid, char *value); +int add_ext(STACK_OF(X509_EXTENSION) *sk, int nid, char *value); int main(int argc, char **argv) { @@ -148,7 +149,7 @@ err: * because we wont reference any other sections. */ -int add_ext(STACK_OF(X509_REQUEST) *sk, int nid, char *value) +int add_ext(STACK_OF(X509_EXTENSION) *sk, int nid, char *value) { X509_EXTENSION *ex; ex = X509V3_EXT_conf_nid(NULL, NULL, nid, value);