New UTF8 utility functions to parse/generate UTF8 strings.
[openssl.git] / crypto / asn1 / x_info.c
index b55f0ce77a7cdb87863003926c6ed69c4fa1865d..99ce011f075f36818a4021608f726ba253233009 100644 (file)
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include "evp.h"
-#include "asn1_mac.h"
-#include "x509.h"
+#include <openssl/evp.h>
+#include <openssl/asn1_mac.h>
+#include <openssl/x509.h>
 
-X509_INFO *X509_INFO_new()
+X509_INFO *X509_INFO_new(void)
        {
        X509_INFO *ret=NULL;
 
@@ -84,8 +84,7 @@ X509_INFO *X509_INFO_new()
        return(ret);
        }
 
-void X509_INFO_free(x)
-X509_INFO *x;
+void X509_INFO_free(X509_INFO *x)
        {
        int i;
 
@@ -109,3 +108,6 @@ X509_INFO *x;
        if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey);
        Free((char *)x);
        }
+
+IMPLEMENT_STACK_OF(X509_INFO)
+